a working 1d version of do step
delete test.h5