Fix test breaking where you cannot instanceof check DocumentFragment
Remove dependency on using script tags for inline templates per #510, also remove need to specify type.