test for edit_detail/