Test Case Boilerplate

Fork this way...

HTML

<h1/>

JavaScript

var a = $('<h3>3</h3>').appendTo('h1');
console.log(a); 
var b = $('<h3>3</h3>').appendTo('not_existing_element');
console.log(b);