ticket:6 add test for edit page