test from libgit2sharp