 
       it 'should add headers into test', () ->
         assert.deepEqual receivedTest.request.headers, header
+
 
     describe 'run test with hooks only indicated by `hooks-only`', () ->
 

      it 'should run mocha', () ->
        assert.ok runner.mocha.run.called

      it 'should add a pending test', () ->
        # TODO(quanlong): Implement this test
        # console.log suiteStub.addTest.printf('%n-%c-%C')
        # assert.ok suiteStub.addTest.calledWithExactly('GET /machines -> 200')

      it 'should call afterAll hook', () ->
        afterAllHook.should.have.been.called


    describe 'when beforeAllHooks throws UncaughtError', () ->

      beforeAllHook = ''
      afterAllHook = ''

      before (done) ->
        testFactory = new TestFactory()
        test = testFactory.create()
        test.name = 'GET /machines -> 200'
