Test for UserDao.getUserByEmail