Test 1, LTR:
  Moving right: "\n        abc\n    "[9, 10, 11, 12]
  Moving left:  "\n        abc\n    "[12, 11, 10, 9]
Test 1, RTL:
  Moving left: "\n        abc\n    "[9, 11, 10, 12]
  Moving right:  "\n        abc\n    "[12, 10, 11, 9]
Test 2, LTR:
  Moving right: "\n        ABC\n    "[9, 11, 10, 12]
  Moving left:  "\n        ABC\n    "[12, 10, 11, 9]
Test 2, RTL:
  Moving left: "\n        ABC\n    "[9, 10, 11, 12]
  Moving right:  "\n        ABC\n    "[12, 11, 10, 9]
Test 3, LTR:
  Moving right: <DIV>[0], "abc\n    "[0, 1, 2, 3]
WARNING: Moved in the wrong direction in step 1: from (37, 77) to (37, 94).
  Moving left:  "abc\n    "[3, 2, 1, 0], <DIV>[0]
WARNING: Moved in the wrong direction in step 4: from (37, 94) to (37, 77).
Test 3, RTL:
  Moving left: <DIV>[0], "abc\n    "[0, 2, 1, 3]
WARNING: Moved in the wrong direction in step 1: from (767, 77) to (767, 94).
WARNING: Moved in the wrong direction in step 3: from (752, 94) to (767, 94).
  Moving right:  "abc\n    "[3, 1, 2, 0], <DIV>[0]
WARNING: Moved in the wrong direction in step 2: from (767, 94) to (752, 94).
WARNING: Moved in the wrong direction in step 4: from (767, 94) to (767, 77).
Test 4, LTR:
  Moving right: <DIV>[0], "ABC\n    "[0, 2, 1, 3]
WARNING: Moved in the wrong direction in step 1: from (37, 127) to (37, 144).
WARNING: Moved in the wrong direction in step 3: from (50, 144) to (37, 144).
  Moving left:  "ABC\n    "[3, 1, 2, 0], <DIV>[0]
WARNING: Moved in the wrong direction in step 2: from (37, 144) to (50, 144).
WARNING: Moved in the wrong direction in step 4: from (37, 144) to (37, 127).
Test 4, RTL:
  Moving left: <DIV>[0], "ABC\n    "[0, 1, 2, 3]
WARNING: Moved in the wrong direction in step 1: from (767, 127) to (767, 144).
  Moving right:  "ABC\n    "[3, 2, 1, 0], <DIV>[0]
WARNING: Moved in the wrong direction in step 4: from (767, 144) to (767, 127).
Test 5, LTR:
  Moving right: "\n        abcABCdef\n    "[9, 10, 11, 12, 14, 13, 15, 16, 17, 18]
  Moving left:  "\n        abcABCdef\n    "[18, 17, 16, 15, 13, 14, 12, 11, 10, 9]
Test 5, RTL:
  Moving left: "\n        abcABCdef\n    "[9, 11, 10, 12, 13, 14, 15, 17, 16, 18]
  Moving right:  "\n        abcABCdef\n    "[18, 16, 17, 15, 14, 13, 12, 10, 11, 9]
Test 6, LTR:
  Moving right: "\n        ABCabcDEF\n    "[9, 11, 10, 12, 13, 14, 15, 17, 16, 18]
  Moving left:  "\n        ABCabcDEF\n    "[18, 16, 17, 15, 14, 13, 12, 10, 11, 9]
Test 6, RTL:
  Moving left: "\n        ABCabcDEF\n    "[9, 10, 11, 12, 14, 13, 15, 16, 17, 18]
  Moving right:  "\n        ABCabcDEF\n    "[18, 17, 16, 15, 13, 14, 12, 11, 10, 9]
Test 7, LTR:
  Moving right: "\n        abcABCDEF\n    "[9, 10, 11, 12, 17, 16, 15, 14, 13, 18]
  Moving left:  "\n        abcABCDEF\n    "[18, 13, 14, 15, 16, 17, 12, 11, 10, 9]
Test 7, RTL:
  Moving left: "\n        abcABCDEF\n    "[9, 11, 10, 12, 13, 14, 15, 16, 17, 18]
  Moving right:  "\n        abcABCDEF\n    "[18, 17, 16, 15, 14, 13, 12, 10, 11, 9]
Test 8, LTR:
  Moving right: "\n        ABCabcdef\n    "[9, 11, 10, 12, 13, 14, 15, 16, 17, 18]
  Moving left:  "\n        ABCabcdef\n    "[18, 17, 16, 15, 14, 13, 12, 10, 11, 9]
Test 8, RTL:
  Moving left: "\n        ABCabcdef\n    "[9, 10, 11, 12, 17, 16, 15, 14, 13, 18]
  Moving right:  "\n        ABCabcdef\n    "[18, 13, 14, 15, 16, 17, 12, 11, 10, 9]
Test 9, LTR:
  Moving right: "123ABC"[0, 5, 4, 1, 2, 6]
  Moving left:  "123ABC"[6, 2, 1, 4, 5, 0]
Test 9, RTL:
  Moving left: "123ABC"[0, 2, 1, 3, 4, 5, 6]
  Moving right:  "123ABC"[6, 5, 4, 3, 1, 2, 0]
Test 10, LTR:
  Moving right: "ABC123"[0, 4, 5, 2, 1, 6]
  Moving left:  "ABC123"[6, 1, 2, 5, 4, 0]
Test 10, RTL:
  Moving left: "ABC123"[0, 1, 2, 3, 5, 4, 6]
  Moving right:  "ABC123"[6, 4, 5, 3, 2, 1, 0]
Test 11, LTR:
  Moving right: "abc"[0, 1, 2, 3], "ABCdef\n    "[2, 1, 3, 4, 5, 6]
WARNING: Moved in the wrong direction in step 4: from (59, 369) to (52, 369).
WARNING: Moved in the wrong direction in step 5: from (52, 369) to (44, 369).
WARNING: Moved in the wrong direction in step 8: from (72, 369) to (64, 369).
  Moving left:  "ABCdef\n    "[6, 5, 4, 3, 1, 2], "abc"[3, 2, 1, 0]
WARNING: Moved in the wrong direction in step 2: from (64, 369) to (72, 369).
WARNING: Moved in the wrong direction in step 5: from (44, 369) to (52, 369).
WARNING: Moved in the wrong direction in step 6: from (52, 369) to (59, 369).
Test 11, RTL:
  Moving left: "abc"[0, 2, 1, 3], "ABCdef\n    "[1, 2, 3, 5, 4, 6]
WARNING: Moved in the wrong direction in step 4: from (745, 369) to (752, 369).
WARNING: Moved in the wrong direction in step 5: from (752, 369) to (760, 369).
WARNING: Moved in the wrong direction in step 8: from (730, 369) to (738, 369).
  Moving right:  "ABCdef\n    "[6, 4, 5, 3, 2, 1], "abc"[3, 1, 2, 0]
WARNING: Moved in the wrong direction in step 2: from (738, 369) to (730, 369).
WARNING: Moved in the wrong direction in step 5: from (760, 369) to (752, 369).
WARNING: Moved in the wrong direction in step 6: from (752, 369) to (745, 369).
Test 12, LTR:
  Moving right: "ABC"[0, 2, 1, 3], "abcDEF\n    "[1, 2, 3, 5, 4, 6]
WARNING: Moved in the wrong direction in step 4: from (57, 401) to (50, 401).
WARNING: Moved in the wrong direction in step 5: from (50, 401) to (42, 401).
WARNING: Moved in the wrong direction in step 8: from (72, 401) to (64, 401).
  Moving left:  "abcDEF\n    "[6, 4, 5, 3, 2, 1], "ABC"[3, 1, 2, 0]
WARNING: Moved in the wrong direction in step 2: from (64, 401) to (72, 401).
WARNING: Moved in the wrong direction in step 5: from (42, 401) to (50, 401).
WARNING: Moved in the wrong direction in step 6: from (50, 401) to (57, 401).
Test 12, RTL:
  Moving left: "ABC"[0, 1, 2, 3], "abcDEF\n    "[2, 1, 3, 4, 5, 6]
WARNING: Moved in the wrong direction in step 4: from (747, 401) to (752, 401).
WARNING: Moved in the wrong direction in step 5: from (752, 401) to (760, 401).
WARNING: Moved in the wrong direction in step 8: from (732, 401) to (740, 401).
  Moving right:  "abcDEF\n    "[6, 5, 4, 3, 1, 2], "ABC"[3, 2, 1, 0]
WARNING: Moved in the wrong direction in step 2: from (740, 401) to (732, 401).
WARNING: Moved in the wrong direction in step 5: from (760, 401) to (752, 401).
WARNING: Moved in the wrong direction in step 6: from (752, 401) to (747, 401).
Test 13, LTR:
  Moving right: "abcABC123DEFdef\n    "[0, 1, 2, 3, 11, 10, 6, 7, 8, 9, 5, 4, 12, 13, 14, 15]
  Moving left:  "abcABC123DEFdef\n    "[15, 14, 13, 12, 4, 5, 9, 8, 7, 6, 10, 11, 3, 2, 1, 0]
Test 13, RTL:
  Moving left: "abcABC123DEFdef\n    "[0, 2, 1, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 14, 13, 15]
  Moving right:  "abcABC123DEFdef\n    "[15, 13, 14, 12, 11, 10, 9, 7, 8, 6, 5, 4, 3, 1, 2, 0]
Test 14, LTR:
  Moving right: "abcABC123\n    "[0, 1, 2, 3, 7, 8, 5, 4, 9]
  Moving left:  "abcABC123\n    "[9, 4, 5, 8, 7, 3, 2, 1, 0]
Test 14, RTL:
  Moving left: "abcABC123\n    "[0, 2, 1, 3, 4, 5, 6, 8, 7, 9]
  Moving right:  "abcABC123\n    "[9, 7, 8, 6, 5, 4, 3, 1, 2, 0]
Test 15, LTR:
  Moving right: "abcABC123def\n    "[0, 1, 2, 3, 7, 8, 5, 4, 9, 10, 11, 12]
  Moving left:  "abcABC123def\n    "[12, 11, 10, 9, 4, 5, 8, 7, 6, 2, 1, 0]
WARNING: Moving to the left did not visit the same positions in reverse order as moving to the right.
Test 15, RTL:
  Moving left: "abcABC123def\n    "[0, 2, 1, 3, 4, 5, 6, 11, 10, 9, 8, 7, 12]
  Moving right:  "abcABC123def\n    "[12, 7, 8, 9, 10, 11, 6, 5, 4, 3, 1, 2, 0]
Test 16, LTR:
  Moving right: "ABC123DEFabcGHI456JLM\n    "[0, 8, 7, 3, 4, 5, 6, 2, 1, 9, 10, 11, 12, 20, 19, 15, 16, 17, 18, 14, 13, 21]
  Moving left:  "ABC123DEFabcGHI456JLM\n    "[21, 13, 14, 18, 17, 16, 15, 19, 20, 12, 11, 10, 9, 1, 2, 6, 5, 4, 3, 7, 8, 0]
Test 16, RTL:
  Moving left: "ABC123DEFabcGHI456JLM\n    "[0, 1, 2, 3, 5, 4, 6, 7, 8, 9, 11, 10, 12, 13, 14, 15, 17, 16, 18, 19, 20, 21]
  Moving right:  "ABC123DEFabcGHI456JLM\n    "[21, 20, 19, 18, 16, 17, 15, 14, 13, 12, 10, 11, 9, 8, 7, 6, 4, 5, 3, 2, 1, 0]
Test 17, LTR:
  Moving right: "\n        before    AHYJ AQWJXMFUDJE\n    "[9, 10, 11, 12, 13, 14, 15, 16, 22, 21, 20, 23, 24, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 35]
WARNING: Moved in the wrong direction in step 3: from (108, 561) to (37, 578).
WARNING: Moved in the wrong direction in step 5: from (98, 578) to (93, 578).
WARNING: Moved in the wrong direction in step 6: from (93, 578) to (86, 578).
WARNING: Moved in the wrong direction in step 7: from (86, 578) to (82, 578).
WARNING: Moved in the wrong direction in step 8: from (82, 578) to (45, 578).
  Moving left:  "\n        before    AHYJ AQWJXMFUDJE\n    "[35, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 24, 23, 20, 21, 22, 16, 15, 14, 13, 12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 16: from (45, 578) to (82, 578).
WARNING: Moved in the wrong direction in step 17: from (82, 578) to (86, 578).
WARNING: Moved in the wrong direction in step 18: from (86, 578) to (93, 578).
WARNING: Moved in the wrong direction in step 19: from (93, 578) to (98, 578).
WARNING: Moved in the wrong direction in step 21: from (37, 578) to (108, 561).
Test 17, RTL:
  Moving left: "\n        before    AHYJ AQWJXMFUDJE\n    "[9, 14, 13, 12, 11, 10, 15, 16, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35]
WARNING: Moved in the wrong direction in step 1: from (156, 561) to (144, 578).
WARNING: Moved in the wrong direction in step 2: from (144, 578) to (149, 578).
WARNING: Moved in the wrong direction in step 3: from (149, 578) to (156, 578).
WARNING: Moved in the wrong direction in step 5: from (85, 561) to (89, 561).
WARNING: Moved in the wrong direction in step 6: from (89, 561) to (137, 578).
  Moving right:  "\n        before    AHYJ AQWJXMFUDJE\n    "[35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 16, 15, 10, 11, 12, 13, 14, 9]
WARNING: Moved in the wrong direction in step 18: from (137, 578) to (89, 561).
WARNING: Moved in the wrong direction in step 19: from (89, 561) to (85, 561).
WARNING: Moved in the wrong direction in step 21: from (156, 578) to (149, 578).
WARNING: Moved in the wrong direction in step 22: from (149, 578) to (144, 578).
WARNING: Moved in the wrong direction in step 23: from (144, 578) to (156, 561).
Test 18, LTR:
  Moving right: "\n        MUQJ    after encyclopedia\n    "[9, 12, 11, 10, 13, 14, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35]
WARNING: Moved in the wrong direction in step 1: from (37, 611) to (44, 628).
WARNING: Moved in the wrong direction in step 2: from (44, 628) to (37, 628).
WARNING: Moved in the wrong direction in step 4: from (93, 611) to (52, 628).
  Moving left:  "\n        MUQJ    after encyclopedia\n    "[35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 14, 13, 10, 11, 12, 9]
WARNING: Moved in the wrong direction in step 20: from (52, 628) to (93, 611).
WARNING: Moved in the wrong direction in step 22: from (37, 628) to (44, 628).
WARNING: Moved in the wrong direction in step 23: from (44, 628) to (37, 611).
Test 18, RTL:
  Moving left: "\n        MUQJ    after encyclopedia\n    "[9, 10, 11, 12, 13, 14, 21, 20, 19, 18, 22, 23, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 35]
WARNING: Moved in the wrong direction in step 2: from (100, 611) to (156, 628).
WARNING: Moved in the wrong direction in step 4: from (79, 628) to (87, 628).
WARNING: Moved in the wrong direction in step 5: from (87, 628) to (94, 628).
WARNING: Moved in the wrong direction in step 6: from (94, 628) to (145, 628).
WARNING: Moved in the wrong direction in step 10: from (122, 628) to (149, 628).
  Moving right:  "\n        MUQJ    after encyclopedia\n    "[35, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 23, 22, 18, 19, 20, 21, 14, 13, 12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 14: from (149, 628) to (122, 628).
WARNING: Moved in the wrong direction in step 18: from (145, 628) to (94, 628).
WARNING: Moved in the wrong direction in step 19: from (94, 628) to (87, 628).
WARNING: Moved in the wrong direction in step 20: from (87, 628) to (79, 628).
WARNING: Moved in the wrong direction in step 22: from (156, 628) to (100, 611).
Test 19, LTR:
  Moving right: "\n        before    AHYJ AQWJXMFUDJE\n    "[9, 10, 11, 12, 13, 14, 15, 16, 22, 21, 20, 23, 24, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 35]
WARNING: Moved in the wrong direction in step 3: from (108, 661) to (37, 678).
WARNING: Moved in the wrong direction in step 5: from (98, 678) to (93, 678).
WARNING: Moved in the wrong direction in step 6: from (93, 678) to (86, 678).
WARNING: Moved in the wrong direction in step 7: from (86, 678) to (82, 678).
WARNING: Moved in the wrong direction in step 8: from (82, 678) to (45, 678).
  Moving left:  "\n        before    AHYJ AQWJXMFUDJE\n    "[35, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 24, 23, 20, 21, 22, 16, 15, 14, 13, 12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 16: from (45, 678) to (82, 678).
WARNING: Moved in the wrong direction in step 17: from (82, 678) to (86, 678).
WARNING: Moved in the wrong direction in step 18: from (86, 678) to (93, 678).
WARNING: Moved in the wrong direction in step 19: from (93, 678) to (98, 678).
WARNING: Moved in the wrong direction in step 21: from (37, 678) to (108, 661).
Test 19, RTL:
  Moving left: "\n        before    AHYJ AQWJXMFUDJE\n    "[9, 14, 13, 12, 11, 10, 15, 16, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35]
WARNING: Moved in the wrong direction in step 1: from (156, 661) to (144, 678).
WARNING: Moved in the wrong direction in step 2: from (144, 678) to (149, 678).
WARNING: Moved in the wrong direction in step 3: from (149, 678) to (156, 678).
WARNING: Moved in the wrong direction in step 5: from (85, 661) to (89, 661).
WARNING: Moved in the wrong direction in step 6: from (89, 661) to (137, 678).
  Moving right:  "\n        before    AHYJ AQWJXMFUDJE\n    "[35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 16, 15, 10, 11, 12, 13, 14, 9]
WARNING: Moved in the wrong direction in step 18: from (137, 678) to (89, 661).
WARNING: Moved in the wrong direction in step 19: from (89, 661) to (85, 661).
WARNING: Moved in the wrong direction in step 21: from (156, 678) to (149, 678).
WARNING: Moved in the wrong direction in step 22: from (149, 678) to (144, 678).
WARNING: Moved in the wrong direction in step 23: from (144, 678) to (156, 661).
Test 20, LTR:
  Moving right: "\n        MUQJ    after encyclopedia\n    "[9, 12, 11, 10, 13, 14, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35]
WARNING: Moved in the wrong direction in step 1: from (37, 711) to (44, 728).
WARNING: Moved in the wrong direction in step 2: from (44, 728) to (37, 728).
WARNING: Moved in the wrong direction in step 4: from (93, 711) to (52, 728).
  Moving left:  "\n        MUQJ    after encyclopedia\n    "[35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 14, 13, 10, 11, 12, 9]
WARNING: Moved in the wrong direction in step 20: from (52, 728) to (93, 711).
WARNING: Moved in the wrong direction in step 22: from (37, 728) to (44, 728).
WARNING: Moved in the wrong direction in step 23: from (44, 728) to (37, 711).
Test 20, RTL:
  Moving left: "\n        MUQJ    after encyclopedia\n    "[9, 10, 11, 12, 13, 14, 21, 20, 19, 18, 22, 23, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 35]
WARNING: Moved in the wrong direction in step 2: from (100, 711) to (156, 728).
WARNING: Moved in the wrong direction in step 4: from (79, 728) to (87, 728).
WARNING: Moved in the wrong direction in step 5: from (87, 728) to (94, 728).
WARNING: Moved in the wrong direction in step 6: from (94, 728) to (145, 728).
WARNING: Moved in the wrong direction in step 10: from (122, 728) to (149, 728).
  Moving right:  "\n        MUQJ    after encyclopedia\n    "[35, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 23, 22, 18, 19, 20, 21, 14, 13, 12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 14: from (149, 728) to (122, 728).
WARNING: Moved in the wrong direction in step 18: from (145, 728) to (94, 728).
WARNING: Moved in the wrong direction in step 19: from (94, 728) to (87, 728).
WARNING: Moved in the wrong direction in step 20: from (87, 728) to (79, 728).
WARNING: Moved in the wrong direction in step 22: from (156, 728) to (100, 711).
Test 21, LTR:
  Moving right: "\n        This is JF[Y WY OJ[Y the boxes. \n    "[9, 10, 11, 12, 13, 14, 15, 16, 17, 23, 22, 21, 20, 19, 18, 24, 25, 28, 27, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40]
WARNING: Moved in the wrong direction in step 2: from (118, 761) to (110, 761).
WARNING: Moved in the wrong direction in step 3: from (110, 761) to (103, 761).
WARNING: Moved in the wrong direction in step 4: from (103, 761) to (99, 761).
WARNING: Moved in the wrong direction in step 5: from (99, 761) to (92, 761).
WARNING: Moved in the wrong direction in step 7: from (127, 761) to (37, 778).
WARNING: Moved in the wrong direction in step 10: from (80, 778) to (72, 778).
WARNING: Moved in the wrong direction in step 11: from (72, 778) to (68, 778).
WARNING: Moved in the wrong direction in step 12: from (68, 778) to (64, 778).
WARNING: Moved in the wrong direction in step 13: from (64, 778) to (45, 778).
WARNING: Moved in the wrong direction in step 18: from (116, 778) to (108, 778).
WARNING: Moved in the wrong direction in step 19: from (108, 778) to (100, 778).
  Moving left:  "\n        This is JF[Y WY OJ[Y the boxes. \n    "[40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 26, 27, 28, 25, 24, 18, 19, 20, 21, 22, 23, 17, 16, 15, 14, 13, 12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 13: from (100, 778) to (108, 778).
WARNING: Moved in the wrong direction in step 14: from (108, 778) to (116, 778).
WARNING: Moved in the wrong direction in step 19: from (45, 778) to (64, 778).
WARNING: Moved in the wrong direction in step 20: from (64, 778) to (68, 778).
WARNING: Moved in the wrong direction in step 21: from (68, 778) to (72, 778).
WARNING: Moved in the wrong direction in step 22: from (72, 778) to (80, 778).
WARNING: Moved in the wrong direction in step 25: from (37, 778) to (127, 761).
WARNING: Moved in the wrong direction in step 27: from (92, 761) to (99, 761).
WARNING: Moved in the wrong direction in step 28: from (99, 761) to (103, 761).
WARNING: Moved in the wrong direction in step 29: from (103, 761) to (110, 761).
WARNING: Moved in the wrong direction in step 30: from (110, 761) to (118, 761).
Test 21, RTL:
  Moving left: "\n        This is JF[Y WY OJ[Y the boxes. \n    "[9, 15, 14, 13, 12, 11, 10, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 38, 37, 36, 35, 34, 33, 32, 31, 39, 40]
WARNING: Moved in the wrong direction in step 2: from (46, 761) to (54, 761).
WARNING: Moved in the wrong direction in step 3: from (54, 761) to (61, 761).
WARNING: Moved in the wrong direction in step 4: from (61, 761) to (65, 761).
WARNING: Moved in the wrong direction in step 5: from (65, 761) to (72, 761).
WARNING: Moved in the wrong direction in step 6: from (72, 761) to (80, 761).
WARNING: Moved in the wrong direction in step 7: from (80, 761) to (136, 778).
WARNING: Moved in the wrong direction in step 14: from (48, 778) to (56, 778).
WARNING: Moved in the wrong direction in step 15: from (56, 778) to (64, 778).
WARNING: Moved in the wrong direction in step 16: from (64, 778) to (68, 778).
WARNING: Moved in the wrong direction in step 17: from (68, 778) to (76, 778).
WARNING: Moved in the wrong direction in step 18: from (76, 778) to (84, 778).
WARNING: Moved in the wrong direction in step 19: from (84, 778) to (92, 778).
WARNING: Moved in the wrong direction in step 20: from (92, 778) to (99, 778).
  Moving right:  "\n        This is JF[Y WY OJ[Y the boxes. \n    "[40, 39, 31, 32, 33, 34, 35, 36, 37, 38, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 10, 11, 12, 13, 14, 15, 9]
WARNING: Moved in the wrong direction in step 12: from (99, 778) to (92, 778).
WARNING: Moved in the wrong direction in step 13: from (92, 778) to (84, 778).
WARNING: Moved in the wrong direction in step 14: from (84, 778) to (76, 778).
WARNING: Moved in the wrong direction in step 15: from (76, 778) to (68, 778).
WARNING: Moved in the wrong direction in step 16: from (68, 778) to (64, 778).
WARNING: Moved in the wrong direction in step 17: from (64, 778) to (56, 778).
WARNING: Moved in the wrong direction in step 18: from (56, 778) to (48, 778).
WARNING: Moved in the wrong direction in step 25: from (136, 778) to (80, 761).
WARNING: Moved in the wrong direction in step 26: from (80, 761) to (72, 761).
WARNING: Moved in the wrong direction in step 27: from (72, 761) to (65, 761).
WARNING: Moved in the wrong direction in step 28: from (65, 761) to (61, 761).
WARNING: Moved in the wrong direction in step 29: from (61, 761) to (54, 761).
WARNING: Moved in the wrong direction in step 30: from (54, 761) to (46, 761).
Test 22, LTR:
  Moving right: "\n        This is JF[Y WY OJ[Y the boxes. \n    "[9, 10, 11, 12, 13, 14, 15, 16, 17, 23, 22, 21, 20, 19, 18, 24, 25, 28, 27, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46]
WARNING: Moved in the wrong direction in step 2: from (118, 811) to (110, 811).
WARNING: Moved in the wrong direction in step 3: from (110, 811) to (103, 811).
WARNING: Moved in the wrong direction in step 4: from (103, 811) to (99, 811).
WARNING: Moved in the wrong direction in step 5: from (99, 811) to (92, 811).
WARNING: Moved in the wrong direction in step 7: from (127, 811) to (37, 828).
WARNING: Moved in the wrong direction in step 10: from (80, 828) to (72, 828).
WARNING: Moved in the wrong direction in step 11: from (72, 828) to (68, 828).
WARNING: Moved in the wrong direction in step 12: from (68, 828) to (64, 828).
WARNING: Moved in the wrong direction in step 13: from (64, 828) to (45, 828).
WARNING: Moved in the wrong direction in step 18: from (116, 828) to (108, 828).
WARNING: Moved in the wrong direction in step 19: from (108, 828) to (100, 828).
  Moving left:  "\n        This is JF[Y WY OJ[Y the boxes. \n    "[46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 26, 27, 28, 25, 24, 18, 19, 20, 21, 22, 23, 17, 16, 15, 14, 13, 12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 19: from (100, 828) to (108, 828).
WARNING: Moved in the wrong direction in step 20: from (108, 828) to (116, 828).
WARNING: Moved in the wrong direction in step 25: from (45, 828) to (64, 828).
WARNING: Moved in the wrong direction in step 26: from (64, 828) to (68, 828).
WARNING: Moved in the wrong direction in step 27: from (68, 828) to (72, 828).
WARNING: Moved in the wrong direction in step 28: from (72, 828) to (80, 828).
WARNING: Moved in the wrong direction in step 31: from (37, 828) to (127, 811).
WARNING: Moved in the wrong direction in step 33: from (92, 811) to (99, 811).
WARNING: Moved in the wrong direction in step 34: from (99, 811) to (103, 811).
WARNING: Moved in the wrong direction in step 35: from (103, 811) to (110, 811).
WARNING: Moved in the wrong direction in step 36: from (110, 811) to (118, 811).
Test 22, RTL:
  Moving left: "\n        This is JF[Y WY OJ[Y the boxes. \n    "[9, 15, 14, 13, 12, 11, 10, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 38, 37, 36, 35, 34, 33, 32, 31, 39, 40, 41, 42, 43, 44, 45, 46]
WARNING: Moved in the wrong direction in step 2: from (46, 811) to (54, 811).
WARNING: Moved in the wrong direction in step 3: from (54, 811) to (61, 811).
WARNING: Moved in the wrong direction in step 4: from (61, 811) to (65, 811).
WARNING: Moved in the wrong direction in step 5: from (65, 811) to (72, 811).
WARNING: Moved in the wrong direction in step 6: from (72, 811) to (80, 811).
WARNING: Moved in the wrong direction in step 7: from (80, 811) to (136, 828).
WARNING: Moved in the wrong direction in step 14: from (48, 828) to (56, 828).
WARNING: Moved in the wrong direction in step 15: from (56, 828) to (64, 828).
WARNING: Moved in the wrong direction in step 16: from (64, 828) to (68, 828).
WARNING: Moved in the wrong direction in step 17: from (68, 828) to (76, 828).
WARNING: Moved in the wrong direction in step 18: from (76, 828) to (84, 828).
WARNING: Moved in the wrong direction in step 19: from (84, 828) to (92, 828).
WARNING: Moved in the wrong direction in step 20: from (92, 828) to (99, 828).
WARNING: Moved in the wrong direction in step 24: from (37, 828) to (41, 828).
WARNING: Moved in the wrong direction in step 25: from (41, 828) to (45, 828).
WARNING: Moved in the wrong direction in step 26: from (45, 828) to (49, 828).
WARNING: Moved in the wrong direction in step 27: from (49, 828) to (53, 828).
WARNING: Moved in the wrong direction in step 28: from (53, 828) to (57, 828).
  Moving right:  "\n        This is JF[Y WY OJ[Y the boxes. \n    "[46, 45, 44, 43, 42, 41, 40, 39, 31, 32, 33, 34, 35, 36, 37, 38, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 10, 11, 12, 13, 14, 15, 9]
WARNING: Moved in the wrong direction in step 10: from (57, 828) to (53, 828).
WARNING: Moved in the wrong direction in step 11: from (53, 828) to (49, 828).
WARNING: Moved in the wrong direction in step 12: from (49, 828) to (45, 828).
WARNING: Moved in the wrong direction in step 13: from (45, 828) to (41, 828).
WARNING: Moved in the wrong direction in step 14: from (41, 828) to (37, 828).
WARNING: Moved in the wrong direction in step 18: from (99, 828) to (92, 828).
WARNING: Moved in the wrong direction in step 19: from (92, 828) to (84, 828).
WARNING: Moved in the wrong direction in step 20: from (84, 828) to (76, 828).
WARNING: Moved in the wrong direction in step 21: from (76, 828) to (68, 828).
WARNING: Moved in the wrong direction in step 22: from (68, 828) to (64, 828).
WARNING: Moved in the wrong direction in step 23: from (64, 828) to (56, 828).
WARNING: Moved in the wrong direction in step 24: from (56, 828) to (48, 828).
WARNING: Moved in the wrong direction in step 31: from (136, 828) to (80, 811).
WARNING: Moved in the wrong direction in step 32: from (80, 811) to (72, 811).
WARNING: Moved in the wrong direction in step 33: from (72, 811) to (65, 811).
WARNING: Moved in the wrong direction in step 34: from (65, 811) to (61, 811).
WARNING: Moved in the wrong direction in step 35: from (61, 811) to (54, 811).
WARNING: Moved in the wrong direction in step 36: from (54, 811) to (46, 811).
Test 23, LTR:
  Moving right: "\n        Lorem\n        "[9, 10, 11, 12, 13, 14], <DIV>[0], "\n        ipsum\n    "[9, 10, 11, 12, 13, 14]
WARNING: Moved in the wrong direction in step 1: from (37, 861) to (64, 919).
WARNING: Moved in the wrong direction in step 8: from (37, 861) to (64, 919).
  Moving left:  "\n        ipsum\n    "[14, 13, 12, 11, 10, 9], <DIV>[0], "\n        Lorem\n        "[14, 13, 12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 5: from (64, 919) to (37, 861).
WARNING: Moved in the wrong direction in step 12: from (64, 919) to (37, 861).
Test 23, RTL:
  Moving left: "\n        Lorem\n        "[9, 13, 12, 11, 10, 14], <DIV>[0], "\n        ipsum\n    "[9, 13, 12, 11, 10, 14]
WARNING: Moved in the wrong direction in step 4: from (728, 919) to (755, 919).
WARNING: Moved in the wrong direction in step 11: from (728, 919) to (755, 919).
  Moving right:  "\n        ipsum\n    "[14, 10, 11, 12, 13, 9], <DIV>[0], "\n        Lorem\n        "[14, 10, 11, 12, 13, 9]
WARNING: Moved in the wrong direction in step 2: from (755, 919) to (728, 919).
WARNING: Moved in the wrong direction in step 9: from (755, 919) to (728, 919).
Test 24, LTR:
  Moving right: "\n        WMH[\n        "[9, 12, 11, 10, 13], <DIV>[0], "\n        OWQU[\n    "[9, 13, 12, 11, 10, 14]
  Moving left:  "\n        OWQU[\n    "[14, 10, 11, 12, 13, 9], <DIV>[0], "\n        WMH[\n        "[13, 10, 11, 12, 9]
Test 24, RTL:
  Moving left: "\n        WMH[\n        "[9, 10, 11, 12, 13], <DIV>[0], "\n        OWQU[\n    "[9, 10, 11, 12, 13, 14]
WARNING: Moved in the wrong direction in step 1: from (767, 951) to (732, 1009).
WARNING: Moved in the wrong direction in step 7: from (767, 951) to (732, 1009).
  Moving right:  "\n        OWQU[\n    "[14, 13, 12, 11, 10, 9], <DIV>[0], "\n        WMH[\n        "[13, 12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 5: from (732, 1009) to (767, 951).
WARNING: Moved in the wrong direction in step 11: from (732, 1009) to (767, 951).
Test 25, LTR:
  Moving right: "\n        abcdefABC"[9, 10, 11, 12, 13, 14, 15], "DEF\n    "[2, 1], <DIV>[2], "\n        abcdefABC"[18, 17, 16], "DEF\n    "[3]
WARNING: Moved in the wrong direction in step 2: from (98, 1041) to (91, 1041).
WARNING: Moved in the wrong direction in step 3: from (91, 1041) to (83, 1041).
WARNING: Moved in the wrong direction in step 8: from (52, 1041) to (44, 1041).
  Moving left:  "DEF\n    "[3], "\n        abcdefABC"[16, 17, 18], <DIV>[2], "DEF\n    "[1, 2], "\n        abcdefABC"[15, 14, 13, 12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 6: from (44, 1041) to (52, 1041).
WARNING: Moved in the wrong direction in step 11: from (83, 1041) to (91, 1041).
WARNING: Moved in the wrong direction in step 12: from (91, 1041) to (98, 1041).
Test 25, RTL:
  Moving left: "\n        abcdefABC"[9, 14, 13, 12, 11, 10, 15, 16, 17, 18], <DIV>[2], "DEF\n    "[1, 2, 3]
WARNING: Moved in the wrong direction in step 3: from (670, 1041) to (674, 1041).
WARNING: Moved in the wrong direction in step 4: from (674, 1041) to (682, 1041).
WARNING: Moved in the wrong direction in step 5: from (682, 1041) to (689, 1041).
WARNING: Moved in the wrong direction in step 12: from (732, 1041) to (740, 1041).
WARNING: Moved in the wrong direction in step 13: from (740, 1041) to (747, 1041).
  Moving right:  "DEF\n    "[3, 2, 1], <DIV>[2], "\n        abcdefABC"[18, 17, 16, 15, 10, 11, 12, 13, 14, 9]
WARNING: Moved in the wrong direction in step 1: from (747, 1041) to (740, 1041).
WARNING: Moved in the wrong direction in step 2: from (740, 1041) to (732, 1041).
WARNING: Moved in the wrong direction in step 9: from (689, 1041) to (682, 1041).
WARNING: Moved in the wrong direction in step 10: from (682, 1041) to (674, 1041).
WARNING: Moved in the wrong direction in step 11: from (674, 1041) to (670, 1041).
Test 26, LTR:
  Moving right: "\n        ABCDEFabc"[9, 14, 13, 12, 11, 10, 15, 16, 17, 18], <DIV>[2], "def\n    "[1, 2, 3]
WARNING: Moved in the wrong direction in step 3: from (134, 1075) to (129, 1075).
WARNING: Moved in the wrong direction in step 4: from (129, 1075) to (122, 1075).
WARNING: Moved in the wrong direction in step 5: from (122, 1075) to (113, 1075).
WARNING: Moved in the wrong direction in step 12: from (68, 1075) to (61, 1075).
WARNING: Moved in the wrong direction in step 13: from (61, 1075) to (56, 1075).
  Moving left:  "def\n    "[3, 2, 1], <DIV>[2], "\n        ABCDEFabc"[18, 17, 16, 15, 10, 11, 12, 13, 14, 9]
WARNING: Moved in the wrong direction in step 1: from (56, 1075) to (61, 1075).
WARNING: Moved in the wrong direction in step 2: from (61, 1075) to (68, 1075).
WARNING: Moved in the wrong direction in step 9: from (113, 1075) to (122, 1075).
WARNING: Moved in the wrong direction in step 10: from (122, 1075) to (129, 1075).
WARNING: Moved in the wrong direction in step 11: from (129, 1075) to (134, 1075).
Test 26, RTL:
  Moving left: "\n        ABCDEFabc"[9, 10, 11, 12, 13, 14, 15], "def\n    "[2, 1], <DIV>[2], "\n        ABCDEFabc"[18, 17, 16], "def\n    "[3]
WARNING: Moved in the wrong direction in step 2: from (707, 1075) to (716, 1075).
WARNING: Moved in the wrong direction in step 3: from (716, 1075) to (723, 1075).
WARNING: Moved in the wrong direction in step 8: from (752, 1075) to (759, 1075).
  Moving right:  "def\n    "[3], "\n        ABCDEFabc"[16, 17, 18], <DIV>[2], "def\n    "[1, 2], "\n        ABCDEFabc"[15, 14, 13, 12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 6: from (759, 1075) to (752, 1075).
WARNING: Moved in the wrong direction in step 11: from (723, 1075) to (716, 1075).
WARNING: Moved in the wrong direction in step 12: from (716, 1075) to (707, 1075).
Test 27, LTR:
  Moving right: "\n        abc"[9, 10, 11, 12], <DIV>[2], "DEFghi\n    "[2, 1], <DIV>[5, 4], "ABC"[3, 2, 1], "DEFghi\n    "[3, 4, 5, 6]
WARNING: Moved in the wrong direction in step 2: from (244, 1109) to (236, 1109).
WARNING: Moved in the wrong direction in step 4: from (302, 1109) to (52, 1109).
WARNING: Moved in the wrong direction in step 6: from (52, 1109) to (44, 1109).
WARNING: Moved in the wrong direction in step 8: from (295, 1109) to (231, 1109).
WARNING: Moved in the wrong direction in step 9: from (231, 1109) to (59, 1109).
WARNING: Moved in the wrong direction in step 10: from (59, 1109) to (52, 1109).
WARNING: Moved in the wrong direction in step 11: from (52, 1109) to (44, 1109).
WARNING: Moved in the wrong direction in step 15: from (295, 1109) to (287, 1109).
  Moving left:  "DEFghi\n    "[6, 5, 4, 3], "ABC"[1, 2, 3], <DIV>[4, 5], "DEFghi\n    "[1, 2], <DIV>[2], "\n        abc"[12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 1: from (287, 1109) to (295, 1109).
WARNING: Moved in the wrong direction in step 5: from (44, 1109) to (52, 1109).
WARNING: Moved in the wrong direction in step 6: from (52, 1109) to (59, 1109).
WARNING: Moved in the wrong direction in step 7: from (59, 1109) to (231, 1109).
WARNING: Moved in the wrong direction in step 8: from (231, 1109) to (295, 1109).
WARNING: Moved in the wrong direction in step 10: from (44, 1109) to (52, 1109).
WARNING: Moved in the wrong direction in step 12: from (52, 1109) to (302, 1109).
WARNING: Moved in the wrong direction in step 14: from (236, 1109) to (244, 1109).
Test 27, RTL:
  Moving left: "\n        abc"[9, 11, 10, 12], <DIV>[2], "ABC"[1, 2, 3], <DIV>[4, 5], "DEFghi\n    "[1, 2, 3, 5, 4, 6]
WARNING: Moved in the wrong direction in step 2: from (505, 1109) to (513, 1109).
WARNING: Moved in the wrong direction in step 4: from (501, 1109) to (760, 1109).
WARNING: Moved in the wrong direction in step 6: from (752, 1109) to (760, 1109).
WARNING: Moved in the wrong direction in step 10: from (565, 1109) to (752, 1109).
WARNING: Moved in the wrong direction in step 11: from (752, 1109) to (760, 1109).
WARNING: Moved in the wrong direction in step 14: from (565, 1109) to (572, 1109).
  Moving right:  "DEFghi\n    "[6, 4, 5, 3, 2, 1], <DIV>[5, 4], "ABC"[3, 2, 1], <DIV>[2], "\n        abc"[12, 10, 11, 9]
WARNING: Moved in the wrong direction in step 2: from (572, 1109) to (565, 1109).
WARNING: Moved in the wrong direction in step 5: from (760, 1109) to (752, 1109).
WARNING: Moved in the wrong direction in step 6: from (752, 1109) to (565, 1109).
WARNING: Moved in the wrong direction in step 10: from (760, 1109) to (752, 1109).
WARNING: Moved in the wrong direction in step 12: from (760, 1109) to (501, 1109).
WARNING: Moved in the wrong direction in step 14: from (513, 1109) to (505, 1109).
Test 28, LTR:
  Moving right: "\n        ABC"[9, 11, 10, 12], <DIV>[2], "abc"[1, 2, 3], <DIV>[4, 5], "defDEF\n    "[1, 2, 3, 5, 4, 6]
WARNING: Moved in the wrong direction in step 2: from (299, 1145) to (292, 1145).
WARNING: Moved in the wrong direction in step 4: from (304, 1145) to (42, 1145).
WARNING: Moved in the wrong direction in step 6: from (50, 1145) to (42, 1145).
WARNING: Moved in the wrong direction in step 10: from (237, 1145) to (50, 1145).
WARNING: Moved in the wrong direction in step 11: from (50, 1145) to (42, 1145).
WARNING: Moved in the wrong direction in step 14: from (237, 1145) to (229, 1145).
  Moving left:  "defDEF\n    "[6, 4, 5, 3, 2, 1], <DIV>[5, 4], "abc"[3, 2, 1], <DIV>[2], "\n        ABC"[12, 10, 11, 9]
WARNING: Moved in the wrong direction in step 2: from (229, 1145) to (237, 1145).
WARNING: Moved in the wrong direction in step 5: from (42, 1145) to (50, 1145).
WARNING: Moved in the wrong direction in step 6: from (50, 1145) to (237, 1145).
WARNING: Moved in the wrong direction in step 10: from (42, 1145) to (50, 1145).
WARNING: Moved in the wrong direction in step 12: from (42, 1145) to (304, 1145).
WARNING: Moved in the wrong direction in step 14: from (292, 1145) to (299, 1145).
Test 28, RTL:
  Moving left: "\n        ABC"[9, 10, 11, 12], <DIV>[2], "defDEF\n    "[2, 1], <DIV>[5, 4], "abc"[3, 2, 1], "defDEF\n    "[3, 4, 5, 6]
WARNING: Moved in the wrong direction in step 2: from (562, 1145) to (569, 1145).
WARNING: Moved in the wrong direction in step 4: from (500, 1145) to (752, 1145).
WARNING: Moved in the wrong direction in step 6: from (752, 1145) to (760, 1145).
WARNING: Moved in the wrong direction in step 8: from (507, 1145) to (574, 1145).
WARNING: Moved in the wrong direction in step 9: from (574, 1145) to (747, 1145).
WARNING: Moved in the wrong direction in step 10: from (747, 1145) to (752, 1145).
WARNING: Moved in the wrong direction in step 11: from (752, 1145) to (760, 1145).
WARNING: Moved in the wrong direction in step 15: from (507, 1145) to (515, 1145).
  Moving right:  "defDEF\n    "[6, 5, 4, 3], "abc"[1, 2, 3], <DIV>[4, 5], "defDEF\n    "[1, 2], <DIV>[2], "\n        ABC"[12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 1: from (515, 1145) to (507, 1145).
WARNING: Moved in the wrong direction in step 5: from (760, 1145) to (752, 1145).
WARNING: Moved in the wrong direction in step 6: from (752, 1145) to (747, 1145).
WARNING: Moved in the wrong direction in step 7: from (747, 1145) to (574, 1145).
WARNING: Moved in the wrong direction in step 8: from (574, 1145) to (507, 1145).
WARNING: Moved in the wrong direction in step 10: from (760, 1145) to (752, 1145).
WARNING: Moved in the wrong direction in step 12: from (752, 1145) to (500, 1145).
WARNING: Moved in the wrong direction in step 14: from (569, 1145) to (562, 1145).
Test 29, LTR:
  Moving right: "\n        abcABC"[9, 10, 11, 12], "DEF"[2, 1], "\n        abcABC"[15, 14, 13], "DEF"[3]
WARNING: Moved in the wrong direction in step 5: from (52, 1181) to (44, 1181).
  Moving left:  "DEF"[3], "\n        abcABC"[13, 14, 15], "DEF"[1, 2], "\n        abcABC"[12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 5: from (44, 1181) to (52, 1181).
Test 29, RTL:
  Moving left: "\n        abcABC"[9, 11, 10, 12, 13, 14, 15], "DEF"[1, 2, 3]
WARNING: Moved in the wrong direction in step 8: from (752, 1181) to (760, 1181).
  Moving right:  "DEF"[3, 2, 1], "\n        abcABC"[15, 14, 13, 12, 10, 11, 9]
WARNING: Moved in the wrong direction in step 2: from (760, 1181) to (752, 1181).
Test 30, LTR:
  Moving right: "\n        ABCabc"[9, 11, 10, 12, 13, 14, 15], "def"[1, 2, 3]
WARNING: Moved in the wrong direction in step 8: from (50, 1213) to (42, 1213).
  Moving left:  "def"[3, 2, 1], "\n        ABCabc"[15, 14, 13, 12, 10, 11, 9]
WARNING: Moved in the wrong direction in step 2: from (42, 1213) to (50, 1213).
Test 30, RTL:
  Moving left: "\n        ABCabc"[9, 10, 11, 12], "def"[2, 1], "\n        ABCabc"[15, 14, 13], "def"[3]
WARNING: Moved in the wrong direction in step 5: from (752, 1213) to (760, 1213).
  Moving right:  "def"[3], "\n        ABCabc"[13, 14, 15], "def"[1, 2], "\n        ABCabc"[12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 5: from (760, 1213) to (752, 1213).
Test 31, LTR:
  Moving right: "\n        ab"[9, 10, 11], "cABCdef"[1, 3, 2, 4, 5, 6, 7]
WARNING: Moved in the wrong direction in step 5: from (59, 1245) to (52, 1245).
WARNING: Moved in the wrong direction in step 7: from (72, 1245) to (64, 1245).
  Moving left:  "cABCdef"[7, 6, 5, 4, 2, 3, 1], "\n        ab"[11, 10, 9]
WARNING: Moved in the wrong direction in step 3: from (64, 1245) to (72, 1245).
WARNING: Moved in the wrong direction in step 5: from (52, 1245) to (59, 1245).
Test 31, RTL:
  Moving left: "\n        ab"[9, 11, 10], "cABCdef"[1, 2, 3, 4, 6, 5, 7]
WARNING: Moved in the wrong direction in step 4: from (752, 1245) to (760, 1245).
WARNING: Moved in the wrong direction in step 8: from (725, 1245) to (730, 1245).
  Moving right:  "cABCdef"[7, 5, 6, 4, 3, 2, 1], "\n        ab"[10, 11, 9]
WARNING: Moved in the wrong direction in step 2: from (730, 1245) to (725, 1245).
WARNING: Moved in the wrong direction in step 6: from (760, 1245) to (752, 1245).
Test 32, LTR:
  Moving right: "\n        AB"[9, 11, 10], "CabcDEF"[1, 2, 3, 4, 6, 5, 7]
WARNING: Moved in the wrong direction in step 4: from (49, 1277) to (42, 1277).
WARNING: Moved in the wrong direction in step 8: from (79, 1277) to (72, 1277).
  Moving left:  "CabcDEF"[7, 5, 6, 4, 3, 2, 1], "\n        AB"[10, 11, 9]
WARNING: Moved in the wrong direction in step 2: from (72, 1277) to (79, 1277).
WARNING: Moved in the wrong direction in step 6: from (42, 1277) to (49, 1277).
Test 32, RTL:
  Moving left: "\n        AB"[9, 10, 11], "CabcDEF"[1, 3, 2, 4, 5, 6, 7]
WARNING: Moved in the wrong direction in step 5: from (747, 1277) to (752, 1277).
WARNING: Moved in the wrong direction in step 7: from (732, 1277) to (740, 1277).
  Moving right:  "CabcDEF"[7, 6, 5, 4, 2, 3, 1], "\n        AB"[11, 10, 9]
WARNING: Moved in the wrong direction in step 3: from (740, 1277) to (732, 1277).
WARNING: Moved in the wrong direction in step 5: from (752, 1277) to (747, 1277).
Test 33, LTR:
  Moving right: "\n        abc"[9, 10, 11, 12], "ABCdef"[2, 1, 3, 4, 5, 6]
WARNING: Moved in the wrong direction in step 5: from (52, 1309) to (44, 1309).
WARNING: Moved in the wrong direction in step 8: from (72, 1309) to (64, 1309).
  Moving left:  "ABCdef"[6, 5, 4, 3, 1, 2], "\n        abc"[12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 2: from (64, 1309) to (72, 1309).
WARNING: Moved in the wrong direction in step 5: from (44, 1309) to (52, 1309).
Test 33, RTL:
  Moving left: "\n        abc"[9, 11, 10, 12], "ABCdef"[1, 2, 3, 5, 4, 6]
WARNING: Moved in the wrong direction in step 5: from (752, 1309) to (760, 1309).
WARNING: Moved in the wrong direction in step 8: from (730, 1309) to (738, 1309).
  Moving right:  "ABCdef"[6, 4, 5, 3, 2, 1], "\n        abc"[12, 10, 11, 9]
WARNING: Moved in the wrong direction in step 2: from (738, 1309) to (730, 1309).
WARNING: Moved in the wrong direction in step 5: from (760, 1309) to (752, 1309).
Test 34, LTR:
  Moving right: "\n        ABC"[9, 11, 10, 12], "abcDEF"[1, 2, 3, 5, 4, 6]
WARNING: Moved in the wrong direction in step 5: from (50, 1341) to (42, 1341).
WARNING: Moved in the wrong direction in step 8: from (72, 1341) to (64, 1341).
  Moving left:  "abcDEF"[6, 4, 5, 3, 2, 1], "\n        ABC"[12, 10, 11, 9]
WARNING: Moved in the wrong direction in step 2: from (64, 1341) to (72, 1341).
WARNING: Moved in the wrong direction in step 5: from (42, 1341) to (50, 1341).
Test 34, RTL:
  Moving left: "\n        ABC"[9, 10, 11, 12], "abcDEF"[2, 1, 3, 4, 5, 6]
WARNING: Moved in the wrong direction in step 5: from (752, 1341) to (760, 1341).
WARNING: Moved in the wrong direction in step 8: from (732, 1341) to (740, 1341).
  Moving right:  "abcDEF"[6, 5, 4, 3, 1, 2], "\n        ABC"[12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 2: from (740, 1341) to (732, 1341).
WARNING: Moved in the wrong direction in step 5: from (760, 1341) to (752, 1341).
Test 35, LTR:
  Moving right: "\n        abcAdef\n    "[9, 10, 11, 12, 13, 14, 15, 16]
  Moving left:  "\n        abcAdef\n    "[16, 15, 14, 13, 12, 11, 10, 9]
Test 35, RTL:
  Moving left: "\n        abcAdef\n    "[9, 11, 10, 12, 13, 15, 14, 16]
  Moving right:  "\n        abcAdef\n    "[16, 14, 15, 13, 12, 10, 11, 9]
Test 36, LTR:
  Moving right: "\n        ABCaDEF\n    "[9, 11, 10, 12, 13, 15, 14, 16]
  Moving left:  "\n        ABCaDEF\n    "[16, 14, 15, 13, 12, 10, 11, 9]
Test 36, RTL:
  Moving left: "\n        ABCaDEF\n    "[9, 10, 11, 12, 13, 14, 15, 16]
  Moving right:  "\n        ABCaDEF\n    "[16, 15, 14, 13, 12, 11, 10, 9]
Test 37, LTR:
  Moving right: "\n        abcABC"[9, 10, 11, 12, 14, 13, 15], "def"[1, 2, 3]
  Moving left:  "def"[3, 2, 1], "\n        abcABC"[15, 13, 14, 12, 11, 10, 9]
Test 37, RTL:
  Moving left: "\n        abcABC"[9, 11, 10, 12, 13, 14, 15], "def"[2, 1, 3]
  Moving right:  "def"[3, 1, 2], "\n        abcABC"[15, 14, 13, 12, 10, 11, 9]
Test 38, LTR:
  Moving right: "\n        ABCabc"[9, 11, 10, 12, 13, 14, 15], "DEF"[2, 1, 3]
  Moving left:  "DEF"[3, 1, 2], "\n        ABCabc"[15, 14, 13, 12, 10, 11, 9]
Test 38, RTL:
  Moving left: "\n        ABCabc"[9, 10, 11, 12, 14, 13, 15], "DEF"[1, 2, 3]
  Moving right:  "DEF"[3, 2, 1], "\n        ABCabc"[15, 13, 14, 12, 11, 10, 9]
Test 39, LTR:
  Moving right: "\n        abcA"[9, 10, 11, 12], "BCdef"[1], "\n        abcA"[13], "BCdef"[2, 3, 4, 5]
WARNING: Moved in the wrong direction in step 9: from (71, 1501) to (64, 1501).
  Moving left:  "BCdef"[5, 4, 3, 2], "\n        abcA"[13], "BCdef"[1], "\n        abcA"[12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 1: from (64, 1501) to (71, 1501).
Test 39, RTL:
  Moving left: "\n        abcA"[9, 11, 10, 12, 13], "BCdef"[1, 2, 4, 3, 5]
WARNING: Moved in the wrong direction in step 6: from (752, 1501) to (760, 1501).
WARNING: Moved in the wrong direction in step 8: from (738, 1501) to (745, 1501).
  Moving right:  "BCdef"[5, 3, 4, 2, 1], "\n        abcA"[13, 12, 10, 11, 9]
WARNING: Moved in the wrong direction in step 2: from (745, 1501) to (738, 1501).
WARNING: Moved in the wrong direction in step 4: from (760, 1501) to (752, 1501).
Test 40, LTR:
  Moving right: "\n        ABCa"[9, 11, 10, 12, 13], "bcDEF"[1, 2, 4, 3, 5]
WARNING: Moved in the wrong direction in step 6: from (50, 1533) to (42, 1533).
WARNING: Moved in the wrong direction in step 8: from (64, 1533) to (57, 1533).
  Moving left:  "bcDEF"[5, 3, 4, 2, 1], "\n        ABCa"[13, 12, 10, 11, 9]
WARNING: Moved in the wrong direction in step 2: from (57, 1533) to (64, 1533).
WARNING: Moved in the wrong direction in step 4: from (42, 1533) to (50, 1533).
Test 40, RTL:
  Moving left: "\n        ABCa"[9, 10, 11, 12], "bcDEF"[1], "\n        ABCa"[13], "bcDEF"[2, 3, 4, 5]
WARNING: Moved in the wrong direction in step 9: from (732, 1533) to (740, 1533).
  Moving right:  "bcDEF"[5, 4, 3, 2], "\n        ABCa"[13], "bcDEF"[1], "\n        ABCa"[12, 11, 10, 9]
WARNING: Moved in the wrong direction in step 1: from (740, 1533) to (732, 1533).
Test 41, LTR:
  Moving right: "abc"[0, 1, 2, 3], "def"[0, 1, 2, 3]
WARNING: Moved in the wrong direction in step 4: from (59, 1565) to (44, 1565).
  Moving left:  "def"[3, 2, 1, 0], "abc"[3, 2, 1, 0]
WARNING: Moved in the wrong direction in step 4: from (44, 1565) to (59, 1565).
Test 41, RTL:
  Moving left: "abc"[0, 2, 1, 3], "def"[0, 2, 1, 3]
WARNING: Moved in the wrong direction in step 4: from (745, 1565) to (752, 1565).
WARNING: Moved in the wrong direction in step 5: from (752, 1565) to (760, 1565).
  Moving right:  "def"[3, 1, 2, 0], "abc"[3, 1, 2, 0]
WARNING: Moved in the wrong direction in step 3: from (760, 1565) to (752, 1565).
WARNING: Moved in the wrong direction in step 4: from (752, 1565) to (745, 1565).
Test 42, LTR:
  Moving right: "ABC"[0, 2, 1, 3], "DEF"[0, 2, 1, 3]
WARNING: Moved in the wrong direction in step 4: from (57, 1615) to (50, 1615).
WARNING: Moved in the wrong direction in step 5: from (50, 1615) to (42, 1615).
  Moving left:  "DEF"[3, 1, 2, 0], "ABC"[3, 1, 2, 0]
WARNING: Moved in the wrong direction in step 3: from (42, 1615) to (50, 1615).
WARNING: Moved in the wrong direction in step 4: from (50, 1615) to (57, 1615).
Test 42, RTL:
  Moving left: "ABC"[0, 1, 2, 3], "DEF"[0, 1, 2, 3]
WARNING: Moved in the wrong direction in step 4: from (747, 1615) to (760, 1615).
  Moving right:  "DEF"[3, 2, 1, 0], "ABC"[3, 2, 1, 0]
WARNING: Moved in the wrong direction in step 4: from (760, 1615) to (747, 1615).
Test 43, LTR:
  Moving right: "abcXXX123QQQdef"[0, 13, 14, 11, 10, 6, 7, 8, 9, 5, 4, 1, 2, 15]
  Moving left:  "abcXXX123QQQdef"[15, 2, 1, 4, 5, 9, 8, 7, 6, 10, 11, 14, 13, 0]
Test 43, RTL:
  Moving left: "abcXXX123QQQdef"[0, 2, 1, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 14, 13, 15]
  Moving right:  "abcXXX123QQQdef"[15, 13, 14, 12, 11, 10, 9, 7, 8, 6, 5, 4, 3, 1, 2, 0]