Fixing typo in test.py
Lots of linter fixes, mostly whitespace