Testing hibernate.