Test modification commit checking