test class and resource updates for photo