fix: python 3 test failures