Fix tox installation of requirements
Fix flake8 syntax / test cases