improve tests
add hibernate support
further imporve itests