test for getOntClass methods in TimeInterval, Location classes.