rem: var x = $('#yahoo'); x.parent(); ok( 'Yahoo' == $('#yahoo').text(), 'Check for non-destructive behaviour' ); 
add: reset(); expected = "This is a normal link: Try them out:Yahoo"; $(document.getElementById('first')).insertBefore('#yahoo'); ok( expected == $('#en').text(), "Insert element before" );  reset(); expected = "This is a normal link: Try them out:diveintomarkYahoo"; $([document.getElementById('first'), document.getElementById('mark')]).insertBefore('#yahoo'); ok( expected == $('#en').text(), "Insert array of elements before" );  reset(); expected = "This is a normal link: Try them out:diveintomarkYahoo"; $("#first, #mark").insertBefore('#yahoo'); ok( expected == $('#en').text(), "Insert jQuery before" ); 
context: test("end()", function() {	expect(3);	ok( 'Yahoo' == $('#yahoo').parent().end().text(), 'Check for end' );	ok( $('#yahoo').end(), 'Check for end with nothing to end' );		var x = $('#yahoo');	x.parent();	ok( 'Yahoo' == $('#yahoo').text(), 'Check for non-destructive behaviour' );});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/buggy/src/jquery/coreTest.js