adds another test for edit action