Fix for python 2.x compatible unicode encoding of strings
Merge branch 'unicode-err'
remove duplicate test case