Add flake8 and flake8-import-order to tests

This  might be a problem I think as we can't know what's behind this shortened url.