Rename bottomup => postorder and topdown => preorder, and eliminate aliases.
Add test cases for mixed trees.