Fixed tests relying on global git config