Implemented test for add_or_update in Editor model.