Fixed a small bug in the Client test