add test for time aggregator in batch mode