passed tests for redirection to edit page