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