tests for fetchGitData