Fix several py3 compatible.
Skip some unicode testcase for PY3.