Fix test unicode_slicing for compatibility between py2X/py3