test class and resources