test for Class