Create methods for the DOM/Text double tests