It didn't seem like it was worth setting up a promise that would only be used for unit tests.

After looking at this some more, I realize that the "Use node server base url" set of tests are almost identical to the "Set user defined base url, and then get provider" set of test below it. The only difference is the base url, so I just removed the ones with the problematic provider.