Suppor jQuery on tests
Added some tests