Additional Tests for DOM Parsing and Serialization

Tests focus on element and doctype serialization, with a little bit of
DOMParser behaviors thrown in.