test for #215
Fix #215 getOntology(OWLOntologyID) can throw a NPE