Add flake8 and flake8-import-order to tests