refactiring behave code for pep8