Add flake8 tests