Capture stderr, add spec for matching error

The test on line 128 in group_spec is outputting to stderr. I added a capture for it, but this is probably not the expected behavior. Probably introduced in c1665b3. /cc @JoshCheek @sferik