Mercedes tests Ferrari's exhaust innovation in Madrid