fixed the test broken by the changes in OntologyTermIndexEntity class