test edit/commit