You should watch:

Stargate SG-1: Season 5 Episode 13: Proving Ground

Perhaps you might want to check out The Order of Watching Stargate