tests for H2 and Derby