LPS-48863 Update tests: the URL has to be escaped