   describe 'with default value', ->
     p = s = null
     beforeEach ->
-      p = new inport
+      p = new noflo.InPort
         default: 'default-value'
-      s = new socket.InternalSocket
+      s = new noflo.internalSocket.InternalSocket
       p.attach s
     it 'should send the default value as a packet, though on next tick after initialization', (done) ->
       p.on 'data', (data) ->

      chai.expect(p.options.type).to.equal 'text/url'

  describe 'without attached sockets', ->
    p = new inport
    it 'should not be attached', ->
      chai.expect(p.isAttached()).to.equal false
      chai.expect(p.listAttached()).to.eql []

        description: 'Person'
        required: true
        weNeverExpectThis: 'butWeStoreItAnyway'
      p = new noflo.InPort options
      for name, option of options
        chai.expect(p.options[name]).to.equal option

