(TK-27) Add tests for request-with-client

Add asynchronous and synchronous tests for request-with-client.