update test for py3