major hdf5 test refactor