Fix test edit magic test