Test dumpTree.