test fix for py3