test in class