[Sailee/Khushal] Refactored the ClientLoanIntegrationTest