converting jquery tests to should