[+] sketch for integration testing [fix] small fixes in tests

please review and accept or comment way to client integration testing