Bunch of lint fixes for run-tests.py

Code is now PEP8 clean again.