Pep8 corrections; Tests with Datefields fixed