Add flake8 and flake8-import-order to tests

Yes. D100,D101,D102 force you to have docstrings, and D203 and D204 force you to add whitespace around them. Which is crazy.