added test for in_order_nodes() generator