unit test changes for pairing process