Add test for aggregator.