treeiterator should work need tests