test with jasmine jasmine-jquery and sinon