Do not use str in tests.
Work around https://github.com/mozilla/rust/issues/4473
Purity.
Notes on single-byte encoding.