setUrlBaseForTesting = function(base) {
  urlBase = base;
}
For testing only - this adjusts the base used in `resolveRelativeUrl`.
@param {string} base
Maybe this should just be visible to allow others using this package to test
it?
@package