fixes for UserDaoTest