fix client tests