Tests unmarshal json