api test client fix