Test commit programmaticly.