Add flake8 and flake8-import-order to tests

I think I'd prefer the comments in the docstring anyway.