fixed test of UserDAO