             chai.expect(err).to.be.an 'error'
             chai.expect(err.message).to.contain 'runnable component'
             done()
+            return
+          return
         it 'should not be a loadable component', (done) ->
           l.load 'foo/NotWorking', (err, inst) ->
             chai.expect(err).to.be.an 'error'
             chai.expect(inst).to.be.an 'undefined'
             done()
+            return
+          return
+        return
       describe 'with non-existing import', ->
         nonWorkingSource = """
         var noflo = require('noflo');

              chai.expect(ip.type).to.equal 'data'
              chai.expect(ip.data).to.equal 'ES5'
              done()
            ins.send 'ES5'
        it 'should be able to set the source for non-ready ComponentLoader', (done) ->
          @timeout 10000
          loader = new noflo.ComponentLoader root
          loader.setSource 'foo', 'RepeatData', workingSource, 'javascript', done
      describe 'with ES6', ->
        before ->
          # PhantomJS doesn't work with ES6
          return @skip() if noflo.isBrowser()
        workingSource = """
        const noflo = require('noflo');


              chai.expect(ip.type).to.equal 'data'
              chai.expect(ip.data).to.equal 'CoffeeScript'
              done()
              return
            ins.send 'CoffeeScript'
            return
          return
        return
      return
    describe 'with non-working code', ->
      describe 'without exports', ->
        nonWorkingSource = """
