add tests for new aggregator