testing for class