test complex arrays.