Added QR code scan functionality test