Fix PEP-8 formatting recommendations in the test running code

This fixes a series of warnings from the pep8 tool involving line lengths, and
under-indented lines.

Testing Done:
Ran unit tests, and pep8.

Reviewed at https://reviews.reviewboard.org/r/6662/