Testing commit functionality