Test for unicode decoding correctness