Testing the JSON requests