added qr test
added pairing tests