refactor pep8 conformance test