Fix 'make test' for python3
All tests pass with python3