create some tests, fix up pep8 check