Add additional tests for Element and jQuery types and more documentation