Add flake8 and flake8-import-order to tests

Well it has `#noqa` but I'd like to avoid that if at all possible.