remove the jquery object syntax from the second argument in tests and implementation