Added commit command
Changed unit test