add test with inferred ontology IRI