             done()
 
       after () ->
-        beforeAllHook = undefined
-        afterAllHook = undefined
-
-      it 'should call afterAll hook', () ->
-        afterAllHook.should.have.been.called
-
-
-  describe '#run with options', () ->
-
-    describe 'list all tests with `names`', () ->
-
-      before (done) ->
-        testFactory = new TestFactory()
-        test = testFactory.create()
-        test.name = 'GET /machines -> 200'
-        test.request.path = '/machines'
-        test.request.method = 'GET'
-        test.response.status = 200
-        test.response.schema = """[
-          type: 'string'
-          name: 'string'
-        ]"""
-
-        options =
-          names: true
-
-        runner = new TestRunner options, ''
-        sinon.stub runner.mocha, 'run'
-          .callsFake (callback) ->
-            callback()
-        sinon.spy console, 'log'
-
-        # Mute stdout/stderr
-        mute (unmute) ->
-          runner.run [test], hooksStub, () ->
-            unmute()
-            done()
-
-      after () ->
         console.log.restore()
         runner.mocha.run.restore()
+        runner = undefined
+        test = undefined
 
       it 'should not run mocha', () ->
         assert.notOk runner.mocha.run.called


    describe 'Interact with #test', () ->

      test = undefined
      runner = undefined

      before (done) ->
        testFactory = new TestFactory()

      suiteStub = undefined

      before (done) ->
        test = createStdTest()
        test.response.status = 200
        test.response.schema = {}

