PEP8 fixes for test classes.
All PEP8 issues resolved except linelength stuff.