fix path to test and some pep8 issues