Hibernate console tests changed to use h2 by default and minor fixes