Added proper test for Aggregation.