Fixed Any method does't work bug
Added test case for tree