pep8 and pyflakes on tests.py