counter classes and test classes