Cleaned tests file to correct all pyflakes and pep8 errors

Does this work the way it should? Every time I've attempted to use auto-string concatenation, Python's gotten angry if I didn't surround the list of strings with some extra parens.