h2 test code