Tests for UrlBuilderFactory.