Move client tests from server test lib to client test lib.