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

        ins.beginGroup 'foo'
        ins.send canvas

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

      it 'should sort faces by confidence', ->

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