testing the hibernate