Add unit tests for Commit parsing