Escape URLs and test escapes