update: rewrite test case for generic hibernate dao