more tests and tree traversal