initialize counters at the start of test instead of the global scope