test edit with delete button