Check pep8 using pytest-pep8 extension from pip

* Fix pep8 check as some pep8 constrints where not checked