add test for qr read