unicode<->utf-8 handling, tests