function for getting classes of test objects added