add tests for Aggregate, Average, GroupBy