       expect(elt.attr('x')).toBe('10')
     it 'should have the given child contents', ->
       cont = elt.contents()
-      expect(cont.length).toBe(1)
-      child = cont[0]
+      child = cont.last()
       console.log(child)
       console.log(child.is)
-      expect(child.is('animatetransform')).toBe(true)
+      expect(cont.length).toBe(1)
+      expect(cont.last().is('button')).toBe(true)
+      expect(cont.last().text()).toBe('click me')
 
   describe 'attribute id and class parsing', ->
     it 'should be creatable with #id', ->

      expect(elt.css('font-size')).toBe('9px')
    it 'should have the given child contents', ->
      cont = elt.contents()
      expect(cont.length).toBe(2)
      expect(cont[0]).toEqual(jasmine.any(Text))
      expect(cont[0].textContent).toBe('hello world')

      elt = rxt.tags.rect {
        x: 10
        y: 20
      }, bind -> [
        rxt.tags.button ['click me']
      ] 
      
    it 'should have the right tag', ->
