Fixing problem with unit test when last-used QR size is too big