pep8 cleanups of unit tests