Test for unbuilding a tree into a nodelist