def test_add_metrics(self, aggregator):
        now = 17
        metrics = [KeyValue("k", 1, now), Counter("j", 2)]
        Collector(aggregator)._add_metrics(metrics)

        assert metrics == aggregator.metrics
Tests that add_metrics successfully adds an array of metrics to
dataset/ETHPy150Open kiip/statsite/tests/unit/test_collector.py/TestCollector.test_add_metrics