Attempt to fix python 3 failure in test suite