Test if commit works