fixed the test client