Fixes the LongStringErrorMessageIsProperlyTruncated() test.