Refactored decltype test to not use lambdas/trailing-return-types

Signed-off-by: K-ballo <k@fusionfenix.com>