Tested send and return arrays by value to and from function.