     it 'should retain the type', ->
       chai.expect(p.getDataType()).to.equal 'string'
       chai.expect(p.getSchema()).to.equal 'text/url'
-
+      return
+    return
   describe 'without attached sockets', ->
     p = new noflo.InPort
     it 'should not be attached', ->
       chai.expect(p.isAttached()).to.equal false
       chai.expect(p.listAttached()).to.eql []
+      return
     it 'should allow attaching', ->
       chai.expect(p.canAttach()).to.equal true
+      return
     it 'should not be connected initially', ->
       chai.expect(p.isConnected()).to.equal false
+      return
     it 'should not contain a socket initially', ->
       chai.expect(p.sockets.length).to.equal 0
-
+      return
+    return
   describe 'with processing function called with port as context', ->
     it 'should set context to port itself', (done) ->
       s = new noflo.internalSocket.InternalSocket

        chai.expect(@).to.equal p
        chai.expect(packet).to.equal 'some-data'
        done()
      p.attach s
      s.send 'some-data'

  describe 'with default value', ->
    p = s = null
    beforeEach ->

      p.on 'data', (data) ->
        chai.expect(data).to.equal 'awesome'
        done()
        return
      s.send 'awesome'

      return
    it 'should throw an error if value is not accepted', ->
      p = new noflo.InPort
        values: 'noflo is awesome'.split ' '
