additionally test document fragment nodes

3.1.5 breaks, at least for me, as I'm populating a document fragment before attaching the node which doesn't pass the non-element check.