$("body").append("<h1>test passes h1</h1>");
expect($("body").html()).toMatch(/<h1>/);
$("<p>this is a paragraph</p>").appendTo("h1");
$("body").append("<h1>test passes h1</h1>");
expect($("body").html()).toMatch(/<h1>/);
$("<p>this is a paragraph</p>").appendTo("h1");