 module.exports = (words, style, opts) ->
 
   opts   = {} unless opts
-  tester = opts.parent or fontTester("svg").append("text")
+  tester = opts.parent or fontTester("svg").append("g")
   style  = style or {}
   sizes  = []
   words  = [ words ] unless words instanceof Array
-  tspans = tester.selectAll("tspan").data(words)
+  tspans = tester.selectAll("text").data(words)
   attr   =
     x: 0
     y: 0
 
-  tspans.enter().append("tspan")
+  tspans.enter().append("text")
     .text String
     .attr "position", "absolute"
     .attr "top", "0px"

  tspans.remove()
  tester.remove() unless opts.parent
  sizes

    .attr attr
    .each (d) ->
      opts.mod this if typeof opts.mod is "function"
    .each (d) ->

      children = d3.select(this).selectAll("tspan")
      if children.size()
        width  = []
        children.each -> width.push getWidth(this)
        width = d3.max width
      else
        width = getWidth(this)
      height = getHeight(this)

      sizes.push
        height: height
        text:   d
