Additional tests (with mocks!) for resourceManager