Added test for malformed URI param extraction support (#1735)