Allow test_utils.make_im to accept options for DummyApi

Currently, there is no easy way of passing options to `DummyApi` from `test_utils.make_im`.