testing in the class