PairingSessionInMemory tests refactored