Special case RealMath in expressions
Add tests for user defined functions and math functions