Test tests.py against flake8 too

[ci skip]