Fix pep8 and add test for redirect to edit