I added new file HibernateFormDAOTest and wrote the test case.

https://tickets.openmrs.org/browse/TRUNK-3195