Update request.go

array element had extra <value> tag
Basic test for buildArrayElement function.