Fix the "testAssetUrlNoRewrite" test

When running the test in the browser from somewhere other than http://localhost (e.g. http://foo.dev), the test was failing.