Oh yeah, this is interesting.

So the way I would have done this is to have a param for `filepath` (that defaults to "../.git/HEAD") instead of `altfs`, then create a bunch of dummy files in the test dir and load those, that way you don't have to mock `fs`.