adds test class for getResourceClassInfoByResource()