test if commit