Testing commit methods