Fixing tests for git