Testing treeFromList