"The Test Dream" is the sixty-third episode of the HBO television series The Sopranos. It is the eleventh episode of the show's fifth season. It was written by series creator/executive producer David Chase, and supervising producer Matthew Weiner, and was directed by longtime series director Allen Coulter. It originally aired in the United States on May 16, 2004.