pep8 compliance
updated tests