Finish unit tests for Python2 + 3 support.

All unit tests updated / running for Python 2 + 3.
TODO: Fix non-Python 3 issue with util.py.