flake8 issues fixed in article test.py