Check getDirectInputs with late loading ontology.

getDirectInputs should return all loaded, imported ontologies.
This test case suggests that it returns all imported ontologies
loaded before the import was added.

TestCase as discussed on mailing list!