add 2 more test case for tree traverse