Add some more tests (all passing) for tree iteration