fix Client tests