Add the test for method treeDelete.