fixed py3 test