Add optional code to DummyIm.request_succeeds() for http api, and factor it into the tests
Add optional code to DummyIm.request_succeeds() for http api, and factor it into the tests

GeekFreaker/vumi-jssandbox-toolkit,GeekFreaker/vumi-jssandbox-toolkit