Added mock objects and test method for getting user from UserService