fix git setup in tests