Use the new API for ResourceManager
Fix resource path in tests.go