added ontology method tests