added negative test to h5