Decode URL path for proxy mode - improve test