             dataReal: arrayFixtures.testsHeaders.headersRealFailMiss.dataReal
             dataExpected: arrayFixtures.testsHeaders.headersRealFailMiss.dataExpected
             gavelResult: arrayFixtures.testsHeaders.headersRealFailMiss.gavelResult
+            usePointers: false
           }
           result = jsonResultConverter.getLinesFromAmandaResults()
-          result = JSON.parse JSON.stringify result
+          result = clone result, false
           assert.deepEqual result, expectedOutput
 
     describe 'getLinesFromResults', () ->

            dataReal: arrayFixtures.testsHeaders.headersRealFailChanged.dataReal
            dataExpected: arrayFixtures.testsHeaders.headersRealFailChanged.dataExpected
            gavelResult: arrayFixtures.testsHeaders.headersRealFailChanged.gavelResult
          }
          result = jsonResultConverter.getLinesFromAmandaResults()
          result = JSON.parse JSON.stringify result
          assert.deepEqual result, expectedOutput

    describe 'getLinesFromResults', () ->

{assert} = require 'chai'
clone    = require 'clone'

HeadersResultConverter = require '../../src/headers-result-converter'
arrayFixtures = require '../fixtures/gavel2html-legacy'
