correct test failure on hibernate dao