just curious, why didn't you write the expected values as unicode literals (i.e. instead of the test code decoding to unicode from utf-8?)