am module resource_register checks properly for resource_name, resource_uri and namespace