added tests for math and aggregation functions