add aggregation to tests