Adding test against git commit behavior