test json encoding
test unmarshal, but have error