add unit test for user_info