Updated setUpParams() to handle arrays for data field

Signed-off-by: Stu Goodman <stuart177@gmail.com>
fixed item array testcase
setUpParams test for array data
Merge branch 'stu177-master'