Added aggregation test.