Implement unit test to delete commits