Add check for existing h5 file to test_matlib_hdf5