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.
" 5 (The rest of the dead did not come to life until the thousand years were ended.)" [The second resurrection starts as soon at the thousands years are up]
6 Blessed and holy are those who have part in the first resurrection. [Notice that only blessed and holy persons have part in this resurrection. If there is a first resurrection, then there must be a second resurrection.]
This is the test------> 7 When the thousand years are over, Satan will be be released from his prison[Only Satan? What about fallen angels and other bad persons? See verse rev 20:5] 8 and will go out to deceive the nations in the four corners of the earth—Gog and Magog—to gather them for battle. In number they are like the sand on the seashore.[Who is Satan deceiving on the earth if those part of the first resurrection are in heaven and the second resurrection takes place after he is done away with? Furthermore, what about people who died without knowledge of God, but did bad things? Are they condemed forever to the lake of fire without a chance to prove their loyalty to God? What about people who were born blind and deaf? What about babies and children who died under the age of 10? What kind of judgement could be given in there case? Why was Satan released and allow to decieve people on the earth again?]
They marched across the breadth of the earth and surrounded the camp of God's people, the city he loves. But fire came down from heaven and devoured them. 10 And the devil, who deceived them, was thrown into the lake of burning sulfur, where the beast and the false prophet had been thrown. They will be tormented day and night for ever and ever.
11 Then I saw a great white throne and him who was seated on it. Earth and sky fled from his presence, and there was no place for them. [Who is them?] 12 And I saw the dead, great and small, standing before the throne, and books were opened. Another book was opened, which is the book of life. The dead were judged according to what they had done as recorded in the books.[Notice that the judgement for "they" or "them" is PAST TENSE. "They" or "them" have already been judged! ]
Is this the second resurrection?------> 13 The sea gave up the dead that were in it, and death and Hades gave up the dead that were in them, and each person was judged according to what he had done. [What does Jesus say?]
28 "Do not marvel at this; for ( A ) an hour is coming, in which ( B ) all who are in the tombs will hear His voice, 29 and will come forth; ( C ) those who did the good deeds to a resurrection of life, those who committed the evil deeds to a resurrection of judgment
The resurrection takes place before the judgement. The resurrection of judgment is compared to the resurrection of life. So these are literal resurrections. Does it make sense to you that a bad person is bought back to life so that God can tell him he will be thrown into the lake of fire without being given a second chance? Does that make sense? Again, what about people who never has chance to do the right thing? Give it some throught.
4 Then death and Hades were thrown into the lake of fire. The lake of fire is the second death. 15 If anyone's name was not found written in the book of life, he was thrown into the lake of fire.[ As in those who were decieved by Satan after his release? Are people thrown into the lake of fire after the judgement? Once again, PAST TENSE! The judgement was taking place during the time Satan was released from his prison and decieving people on the earth. You should also pay attention to the fact that those part of the first resurrection will be doing the judging Rev 20:4 ]
I have done the best I can to explain my position here.