upgraded client with test script