updated the class test