added test for counters