Improved test case in CustomRequestClientTest