Reftests: Initial commit
Tests structure and format changed according to Yuta
Removed XML's close tag constructs
Removed incorrect check for template.content.ownerDocument (template content is not part of the DOM)