Fix loop_move tests