Updated parameter to encode function to be consistent with the other calls
Corrected the run_tests.py script to correctly run the complete test suite again
Further updates to ensure Python 3 compatibility across the entire test suite
Merge pull request #306 from fgimian/python3-touchup

Python 3 compatibility touchups