add aggregator object and tests