Update unit testing code for get user info