Add tests for getChangesFromGit