more tests for resourcesManager