Added aggregation test