Add unit test for H2 getSQLCommand