Cleaned tests file to correct all pyflakes and pep8 errors

I would unindent this paren by one tab unit.