Conform test.py to PEP8 and add pep8=1.5.7 to dependencies