TestIMletListener changes

Introduced a resetCounter() method