test: consume the response in `agent: null` test

Otherwise the process would hang open on v0.10
(though on master the old test would pass successfully).

Also adding counter checks for both the server's
"request" event and the client's "response" event.