Added some tests for #5991.
Added some tests for #5991.

npmcomponent/component-jquery,isaacs/jquery,diracdeltas/jquery,roytoo/jquery,dtjm/jquery,Karyotyper/jquery,jcutrell/jquery,kpozin/jquery-nodom,sancao2/jquery,roytoo/jquery,RubyLouvre/jquery,demetr84/Jquery,hoorayimhelping/jquery,demetr84/Jquery,scottjehl/jquery,quiaro/request-agent,eburgos/jquery,gnarf/jquery,Karyotyper/jquery,rwaldron/jquery,ilyakharlamov/jquery-xul,jcutrell/jquery,diracdeltas/jquery,chitranshi/jquery,jquery/jquery,RubyLouvre/jquery,roytoo/jquery,chitranshi/jquery,diracdeltas/jquery,sancao2/jquery,eburgos/jquery,fat/jquery,dtjm/jquery,kpozin/jquery-nodom,ilyakharlamov/jquery-xul,npmcomponent/component-jquery,eburgos/jquery,hoorayimhelping/jquery,gnarf/jquery,sancao2/jquery,scottjehl/jquery,rwaldron/jquery,fat/jquery,Karyotyper/jquery,jquery/jquery,jquery/jquery,praveen9102/Shazam,isaacs/jquery,praveen9102/Shazam