test gob and json

Signed-off-by: eggfly <lihaohua90@gmail.com>