class test respository