A test for searchTree.