22.3.3 TestString() Implementation
TestString()function verifies that all the characters in the string can be printed. That is why they do not need to be fixed if they were passed into the
OutputString()function. Using the same internal function to do the verification for the two functions is a good way to make sure that these functions are consistent.