Added tests for receiving calls with params-array parameters
Fixed handling of value-type params array parameters