This PR refactors PocketIC instance creation to use the PocketIC library. Having a PocketIC instance handle around is useful to make requests to the PocketIC instance without using an agent, e.g., to impersonate the request's sender (in a follow up PR).
This PR refactors PocketIC instance creation to use the PocketIC library. Having a PocketIC instance handle around is useful to make requests to the PocketIC instance without using an agent, e.g., to impersonate the request's sender (in a follow up PR).