Added some new tests for tree traversal