fixed the test broken by the changes in the OntologyIndexRepository and OntologyTermIndexRepository