tester for class