fix scheme in test + add test for set_msg and dynamic substitution in URL
allow substitutions of URL even if the URL does not start with "%%" (TSUN-279)