update GsonDeEncode test, rename MsgRegister method.