test for post_order