Fix edit test