Update flake8 tests