Tests search tree, corrects call to iterator.