added test for transmitting arrays