 
   beforeEach ->
 
+    @logger = new ExtendedLogger
+      additionalFields:
+        project_key: 'productImporterTests'
+      logConfig:
+        name: "#{package_json.name}-#{package_json.version}"
+        streams: [
+          { level: 'info', stream: process.stdout }
+        ]
+
     errorDir = path.join(__dirname, '../errors')
 
     Config =
       clientConfig: ClientConfig
       errorDir: errorDir
       errorLimit: 0
+      ensureEnums: true
       blackList: ['prices']
 
-    @import = new ProductImport null, Config
+    @import = new ProductImport @logger, Config
 
   it 'should initialize', ->
     expect(@import).toBeDefined()

          prices: []
        ],
        version: 1

      spyOn(@import, "_prepareNewProduct").andCallFake (prepareProduct) -> Promise.resolve(prepareProduct)
      spyOn(@import, "_prepareUpdateProduct").andCallFake (prepareProduct) -> Promise.resolve(prepareProduct)

ClientConfig = require '../config'
Promise = require 'bluebird'
path = require 'path'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../package.json'

frozenTimeStamp = new Date().getTime()

