test(tree.clone): add test on tree.clone