Test edit and commit.