Cleaned tests file to correct all pyflakes and pep8 errors

Arguably, be consistent about where you put the " " character. I like to put it at the end of a line,
like:

````
"my long "
"string has spaces at the "
"end of lines but that way "
"the start of each line looks reasonable."
```