added unit tests for post_order_nodes()