Test editting and committing