PASS Changing of template element's node document. Test that ownerDocument of an empty template and its content changes PASS Changing of template element's node document. Test that ownerDocument of a not empty template and its content changes PASS Changing of template element's node document. Test that ownerDocument of nested template and its content changes PASS Changing of template element's node document. Test document loaded from a file PASS Changing of template element's node document. Adobt template element into a document that has a browsing context PASS Changing of template element's node document. Test the case when both old and new owner documents of template element have browsing context