add a test to ensure utf8 codepoints come out right

not, for example, negative or off-by-one.