tests: add coverage, encode/decode all 8-bit characters