fixed tests of hdf5 <1.8.7

The datasets need to be created with unlimited maxsize
Merge pull request #1 from tacaswell/zero-length-selections

fixed tests of hdf5 <1.8.7