Added samples and unit tests for jagged and multidimensional arrays in parameters and return types.