several changes to test_frame_order.py