testing response payload for HTTP status code