Fixed py3 test