test.counter function

Manipulating the test counter