wrote unit tests for the DefaultUserDao