Fixed DocumentFragment tests