Changed test for pairing in StaticallyPairingAgentContainer.