fixing python 3 tests, kind of questionable