Fix Hibernate/H2 warnings in tests