Nasim Pedrad and Taran Killam were on SNL together from 2010-2014, which is perhaps why the improvisation scene with Aly testing Fred for drunk driving was written in.
This episode is titled "What About Fred" and features actress Julie Hagarty who also played the role of Fay Marvin in the 1991 comedy, "What About Bob."
Julie Hagerty played Daman Wayne Jr's mother in law in the series he ended up staring in instead of New Girl, Happy Endings.