json response tests