adding tree traversal test