Test of new urlEncode method