test and class