Change StringGenerator to use only chars in range 0x0000-0xD7FF. Refactor tests to hide details of specific generators.