add test for userDAO