basic hibernate tests