test: Added unit tests for commit parsing