PEP8 formatting for tests
pep8 for score_data

pyflakes reasonably complains about the complexity
of score_data().
A whole bunch more pep8 compliance stuff.

Yay, cleaner code!