test if edit worked