Add flake8 and flake8-import-order to tests

But I don't have another solution :(