Fixed test for directedRelationDefinition error handling