pyflakes and pep8 for a test file.
base module now passes pyflakes.
Merge pull request #637 from guyrt/pyflakes-cleanup

Pyflakes cleanup