PEP8 fixes for test_validation