added tests to ontology module