add test support for py3