Fixed tests so Url's are properly encoded.