test client setup