random write test
Merge remote-tracking branch 'upstream/hds' into hds
Compare using offsets and length.
Merge pull request #1022 from tweise/hds

random write test