Check pep8 using pytest-pep8 extension from pip

* Fix pep8 check as some pep8 constraints where not checked