completed test case of h5 output