Simple test for hibernate implementation of generic DAO.