Test for commiting