test passes for edit button redirect