Test adding a resource type