Add test case showing that we have fixed #1289
Add test case showing that we have fixed #1289

fiftin/jsdom,fiftin/jsdom,Sebmaster/jsdom,tmpvar/jsdom,snuggs/jsdom,nicolashenry/jsdom,Joris-van-der-Wel/jsdom,snuggs/jsdom,Joris-van-der-Wel/jsdom,Zirro/jsdom,mbostock/jsdom,tmpvar/jsdom,mzgol/jsdom,nicolashenry/jsdom,Zirro/jsdom,fiftin/jsdom,mzgol/jsdom,Sebmaster/jsdom,nicolashenry/jsdom,Joris-van-der-Wel/jsdom,Sebmaster/jsdom,mbostock/jsdom,mzgol/jsdom,mbostock/jsdom