Fix testing to take into account both jqlite and jquery options.