Use more internal implementations in GitAPITestCase