some basic tests for ResourcesManager