Maybe we should add a `code` option to `request_succeeds` on the DummyIm so that others can use it too if they need?