Fixed issue with AttributeResourceDefinitionTest.