hibernate 4 testing work