testing hibernate