Update test settings.
pep8-ify code