added test for userDAO