Hmm, I'd add more specs here, but the more I think about it, the more it feels like I'd just be testing libgit2. This happens to be the easiest way to trigger an error from those calls, but the real test is "am I raising the Error correctly to node."