Adding test cases for diffing based on `git diff` as the reference implementation.