added initial testing for qr generation