@Test
public void testCharAt() {

    LimitedRegexCharSequence lrcs = new LimitedRegexCharSequence(simpleString, 1000);
    Assert.assertEquals(lrcs.charAt(18), 'i');
    Assert.assertEquals(lrcs.charAt(3), 's');
}