Moved flake8 to the end of the test scripts so you can see output