Backport improved test coverage for string.py
4 files changed