       closedExpected,
       theString,
       stackTrace: SourceLocStack().with(test.loc))
+
+    // Test unique-native optimized path
+    var uniqNative = String(Array(test.original))
+    uniqNative.replaceSubrange(rangeToReplace, with: newCharacters)
+    expectEqual(theString, uniqNative,
+      stackTrace: SourceLocStack().with(test.loc))
   }
 }
 

      test.expected,
      theString,
      stackTrace: SourceLocStack().with(test.loc))
  }
}


    expected: "bmeelab",
    closedExpected: "bmeela"
  ),
  ReplaceSubrangeTest(
    original: "bobbobbobbobbobbobbobbobbobbob",
    newElements: "meela",
    rangeSelection: .offsets(1, 2),
    expected: "bmeelabbobbobbobbobbobbobbobbobbob",
    closedExpected: "bmeelabobbobbobbobbobbobbobbobbob"
  ),
  ReplaceSubrangeTest(
    original: "bob",
    newElements: "meelameelameelameelameela",
    rangeSelection: .offsets(1, 2),
    expected: "bmeelameelameelameelameelab",
    closedExpected: "bmeelameelameelameelameela"
  ),
]

let removeSubrangeTests = [
