Add a test-case for git-apply trying to add an ending line