testing JsonHTTPRequest