Added tests for ResourceName