Fix problem in test_wiring_operator_reorder_endpoints