Added UrlReplacement tests