fixed broken edit test