addes test and Hibernate configuration