Api 329 add wrap api to sentry

these to be in their own describe such that its clear that the final two tests are using a stubbed (not spyed) error fn.