Fixed postTraversal in TreeOps.
Added test for postTraversal.