added cancel-edit test