Test commit command