Add hibernate config files. Add test for connection