test delete with H2 prepare