Add new test cases and limit the number of characters for
NonAmpersandChracter and NonDoubleQuoteChar.
Rename NonDoubleQuoteChar to NonDoubleQuoteCharacter for consistency.