rem: test("end()", function() { expect(3); ok( 'Yahoo' == $('#yahoo').parent().end().text(), 'Check for end' ); ok( $('#yahoo').end(), 'Check for end with nothing to end' ); 
add: test("insertBefore(String|Element|Array&lt;Element&gt;|jQuery)", function() { expect(4); var expected = 'This is a normal link: bugaYahoo'; $('<b>buga</b>').insertBefore('#yahoo'); ok( expected == $('#en').text(), 'Insert String 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: 1307	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1307/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/buggy/src/jquery/coreTest.js