Fixed test scenarios. Added final logic to the 'List commits' feature.