tests and pep8 fixes