Fixed the pep8 errors in tests.