When Terri gets freaked out by Toby's behavior, he then tells her that he was doing a science experiment to test if she really is psychic because Terri claims to be.
He was doing a science experiment. This was to test if she really is psychic because Terri claims to be. This is what he tells her. Terri gets freaked out by Toby's behavior.