old_contents: import pytest
  from plenum.client.wallet import Wallet
  from plenum.persistence.client_req_rep_store import ClientReqRepStore
  
  class TestClientReqRepStore:
      def __init__(self, lastReqId):
          self._lastReqId = lastReqId
      @property
      def lastReqId(self):
          return self._lastReqId
  
  def test_wallet_uses_store():
      lastReqId = 128
      store = TestClientReqRepStore(lastReqId) #type: ClientReqRepStore
  
      wallet = Wallet("client_name")
      identifier = "signer_identifier"
      seed = str.encode("x"*32)
  
      wallet.addSigner(identifier, seed, reqRepStore=store)
  
      op = {}
  
      signed = wallet.signOp(op)
      assert signed.reqId == lastReqId + 1
new_contents: import pytest
  import random
  from plenum.client.wallet import Wallet
  from plenum.persistence.client_req_rep_store import ClientReqRepStore
  
  class TestClientReqRepStore:
      def __init__(self, lastReqId):
          self._lastReqId = lastReqId - 1
      @property
      def lastReqId(self):
          self._lastReqId += 1
          return self._lastReqId
  
  def add_and_sign(clientsNum = 10):
      # configuring wallet
      wallet = Wallet("shared wallet")
      for i in range(clientsNum):
          store = TestClientReqRepStore(i)  # type: ClientReqRepStore
          identifier = "signer_{}".format(i)
          seed = str.encode("".join(random.choice("0123456789abcdef") for _ in range(32)))
          wallet.addSigner(identifier, seed, reqRepStore=store)
  
      # testing indexes
      for i in range(clientsNum):
          op = {}
          signed = wallet.signOp(op)
          assert i + 1 == signed.reqId
  
  def test_wallet_uses_store():
      add_and_sign(clientsNum=1)
  
  def test_wallet_used_with_multiple_signers():
      add_and_sign(clientsNum=10)
subject: add test of wallet for case when it is used with multiple signers