         runner = new TestRunner options, ''
         sinon.stub runner.mocha, 'run'
           .callsFake (callback) ->
-            receivedTest = _.clone(test)
+            receivedTest = _.cloneDeep(test)
             callback()
 
         runner.run [test], hooksStub, done


        header =
          key: 'value'

        options =
          server: "#{SERVER}"

chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
_ = require 'lodash'
mocha = require 'mocha'
mute = require 'mute'
proxyquire = require('proxyquire').noCallThru()
pkg = require '../../package'

TestFactory = require '../../lib/test'

