This is a bad idea.  You shouldn't change global state in a test.  It's better to pass this new url to `apiHelper` as an arg.  I commented above on changing the signature of the helper to allow this.  Your other callers can just pass `api` every time.