Fixes PEP8 formatting issues in tests.