tests: Updated `test_substring` for edge case in `ASCIIFlatString::substring`