> Job wasn’t necessarily a real person but the Book of Job was a sort of teaching lesson.
That is my position as well. I do not believe that Job was a real person. I think the book of Job is a theological treatise on the subject of the Retribution Principle and God's righteousness in the face of human suffering. It is wisdom literature, not historical literature.
> NIV Study Bible states that the “messenger of Satan” was God permitting “Satan to afflict Paul as He did Job.”
That is a comment of the scholars writing those study notes. Even if the book of Job is didactic, the point still carries that Paul was feeling afflicted in the same way that the book of Job talks about.
> So that seems to indicate Job was a real person.
Remember, that is the note of scholars, not of the God-breathed Word. I think there several reasons we can take the book of Job to be fictional:
- No historical setting
- Complete idealization of the "hero" (Job)
- Inverse similitude: Preciseness of details strike as unrealistic (seriously, exactly twice as many kids at the end of the book from the beginning?)
- The characters speak only in poetry
- Dialogue: the repetition (exact) is unrealistic to real life.
- The symmetrical arrangement of the speeches suggests a treatise, not a historical narrative. In history, things don't happen so cleanly.
- The dialogue in heaven could not have been eyewitnesses. Scenes in heaven are rare in biblical literature
> Are there other instances of God testing faith (I know he did Abraham) especially in the New Testament?
Just about every interaction Jesus has with his disciples in the Gospels is to test their faith.
> Is there an explanation on why He does this?
Testing is the path to growth. We know this from every coach, every teacher, and in anyone who takes lessons of any kind.