Made the Bode Plot example test the window object as well