Add test to trigger StringOutOfBoundsException