Adding qr_test