Cleaned tests file to correct all pyflakes and pep8 errors

Side note -- this test appears to do nothing!