fixing test for Py3k