Making UrlHelper's methods virtual

/cc: @rynowak @yishaigalatzer 
yeah...wanted to be explicit here as the test verifies the case which is config dependent...