public Set<T> keySet() {
        return map.keySet();
    }
@Test
    public void testKeySet() {
        counter.add("key1", 1);
        counter.add("key2", 1);

        assertEquals(new HashSet<>(asList("key1", "key2")), counter.keySet());
    }