test("clone()", function() { expect(3); ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Assert text for #en' ); var clone = $('#yahoo').clone(); ok( 'Try them out:Yahoo' == $('#first').append(clone).text(), 'Check for clone' ); ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Reassert text for #en' ); 
test("insertAfter(String|Element|Array&lt;Element&gt;|jQuery)", function() { expect(4); var expected = 'This is a normal link: Yahoobuga'; $('<b>buga</b>').insertAfter('#yahoo'); ok( expected == $('#en').text(), 'Insert String after' );  reset(); expected = "This is a normal link: YahooTry them out:"; $(document.getElementById('first')).insertAfter('#yahoo'); ok( expected == $('#en').text(), "Insert element after" );  reset(); expected = "This is a normal link: YahooTry them out:diveintomark"; $([document.getElementById('mark'), document.getElementById('first')]).insertAfter('#yahoo'); ok( expected == $('#en').text(), "Insert array of elements after" );  reset(); expected = "This is a normal link: YahooTry them out:diveintomark"; $("#mark, #first").insertAfter('#yahoo'); ok( expected == $('#en').text(), "Insert jQuery after" ); 
test("clone()", function() {	expect(3);	ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Assert text for #en' );	var clone = $('#yahoo').clone();	ok( 'Try them out:Yahoo' == $('#first').append(clone).text(), 'Check for clone' );	ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Reassert text for #en' );});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/buggy/src/jquery/coreTest.js