add tests for fake resource loader