Added flake8 to dependencies for tests.