         done()
       g.setEdgeMetadata e.from.node, e.from.port, e.to.node, e.to.port,
         hello: 'World'
-    it 'should contain one IIP', ->
-      chai.expect(g.initializers.length).to.equal 1
+    it 'should contain two IIPs', ->
+      chai.expect(g.initializers.length).to.equal 2
     it 'should contain one published inport', ->
       chai.expect(g.inports).to.not.be.empty
     it 'should contain one published outport', ->

      }
    },
    {
      "data": "Hello, world!",
      "tgt": {
        "process": "Foo",
        "port": "in"
      }
    }
  ]

          chai.expect(node.id).to.equal 'Baz'
          done()
        g.removeNode 'Baz'
      it 'shouldn\'t have edges left behind', ->
        connections = 0
        for edge in g.edges
          connections++ if edge.from.node is 'Baz'
          connections++ if edge.to.node is 'Baz'
        chai.expect(connections).to.equal 0
      it 'shouldn\'t have IIPs left behind', ->
        connections = 0
        for edge in g.initializers
          connections++ if edge.to.node is 'Baz'
        chai.expect(connections).to.equal 0
      it 'shouldn\'t have exports left behind', ->
        exports = 0
        for exported in g.exports
          [exportedNode, exportedPort] = exported.private.split '.'
