Gloo: add tests for non-contiguous data to buffer