You must read further. In Revelation 20 (as it stands) there is no "testing by Satan" for the resurrected, just judgement for their past actions. Moreover, they are resurrected after Satan is done with. After heavens and earth disappear. Before new heavens and a new earth appear. Between two worlds so to say.
When the thousand years are ended, Satan will be released from his prison and will come out to deceive the nations at the four corners of the earth, Gog and Magog, in order to gather them for battle; they are as numerous as the sands of the sea. They marched up over the breadth of the earth and surrounded the camp of the saints and the beloved city. And fire came down from heaven and consumed them. And the devil who had deceived them was thrown into the lake of fire and sulfur, where the beast and the false prophet were, and they will be tormented day and night forever and ever.
Then I saw a great white throne and the one who sat on it; the earth and the heaven fled from his presence, and no place was found for them. And I saw the dead, great and small, standing before the throne, and books were opened. Also another book was opened, the book of life. And the dead were judged according to their works, as recorded in the books. And the sea gave up the dead that were in it, Death and Hades gave up the dead that were in them, and all were judged according to what they had done. Then Death and Hades were thrown into the lake of fire. This is the second death, the lake of fire; and anyone whose name was not found written in the book of life was thrown into the lake of fire.