Test edit/commit