added tests for ontologyservice and ontologytree