Updated testMathConstant to check e as well as pi