     beforeEach (done) ->
       # load image, copy to canvas
       if noflo.isBrowser()
-        img = document.createElement('image')
+        fixtures = document.getElementById 'fixtures'
+        img = document.createElement('img')
         canvas = document.createElement('canvas')
         img.onerror = (err) ->
           done(err)

          canvas.getContext('2d').drawImage(img, 0, 0)
          done()
        img.src = 'being-d4.jpg'
      else
        fs.readFile __dirname+'/being-d4.jpg', (err, image) ->
          if err

        ins.beginGroup 'foo'
        ins.send canvas

      it 'should find 14+ faces', ->
        chai.expect(results).to.be.an 'array'
        chai.expect(results.length).to.be.at.least 14
        chai.expect(grps.length).to.equal 1

      it 'should sort faces by confidence', ->
