model test for edit task