resourcesection test for resource type