Merge pull request #23325 from aschwaighofer/improve_string_memory_test-5.0

[5.0] Improve StringMemoryTest.swift