test case for counter caches