updated getListofOntologies for testing