Updated test client code.