Fix test with unicode problem in py3k