Create test for edit