Testing the QR scanner