Modfied hibernate configuration
Added test files