           c.inPorts.in1.attach in1
           in2 = noflo.internalSocket.createSocket()
           c.inPorts.in2.attach in2
-          done()
+          c.setUp done
     beforeEach ->
       out = noflo.internalSocket.createSocket()
       c.outPorts.out.attach out

          c = instance
          in1 = noflo.internalSocket.createSocket()
          c.inPorts.in1.attach in1
          done()
    beforeEach ->
      out = noflo.internalSocket.createSocket()
      c.outPorts.out.attach out

          c.inPorts.in1.attach in1
          in2 = noflo.internalSocket.createSocket()
          c.inPorts.in2.attach in2
          c.setUp done
    beforeEach ->
      out = noflo.internalSocket.createSocket()
      c.outPorts.out.attach out
