update h2 testing code