fix test_hdf5data_layer bug i somehow introduced