The authorities in Beijing set up temporary testing sites after a spike in coronavirus infections. Long lines formed as the city tested nearly two million people on Friday