implement test code on /getUser

implement test code on /getUser,
add ‘char’ library for assert statement