ticket:5 tests for edit form