client fix tests