added bats tests for carbon-aggregator