Added tests to spec out behavior of html with self-closing tags.