Tabs to whitespace

And a few pep8 things.   Leaving in a few pep8 problems I don't care
about.
Test selection with generator
Homogonize settings

May need to go about it differently in the future.