Improved test coverage of user dao