Tree.getHeight-method testing