update tests for passing jquery objects, and element arrays