fixed failing unit test for ResourceLoader