fixed aggregation tests