Add flake8 and flake8-import-order to tests

Seriously, though. Can you think of a nice alternative?