qr backup unit tests