Added wait_any_swapped tests