Michael ends the relationship with Dr. David; Ted and Emmett get tested for HIV; Brian throws Michael a surprise 30th birthday party and outs Michael to his co-worker; Emmett makes a pact with God.