Fix test to use `url.String()`