Added test for unicode error in Python 2.x