Fix bug that lead test helpers to not be started.

Various pep8 related fixes.