Made all tests for hibernate

Deleted HibernateTest and made new ones for all functions