Python 3 compatibility: not all tests pass on py3, but they run, and they all pass on py2.