:fix: bugs on python3 tests