Why the tree is printed in tests
The print is the shape. A test that prints the shape is a test that names the meaning rather than the answer.
The node is a name and children
Nothing else. A node with only a name and children is a node that every later pass can read.