test editing file and then commit