wrote multilevel treeFromSlice test