Fix unicode test bug in Python 3.2