Create element with the child, attach data to the child (through <code>jQuery#data</code>), assign child ref to the variable, then call setter of <code>jQuery#text</code> on the parent, check if child has data. If it's not, then test should pass.