Test if the commit works properly