Test the JSON calls