test if hibernate works