Instead of using `replaceRange`, create a separate test. More specific tests are more informative and usually much easier to debug.