tests: add tests for functions returning invalid utf-8. See #171
I can't reproduce the error here, so I'm probably missing something. Having this tested is a good idea either way.
I can't reproduce the error here, so I'm probably missing something. Having this tested is a good idea either way.