Testing commit permition