Rewrite the request/reply tests with the new API.