       deletions = []
       for p in products
         deletions.push deleteProduct(@rest, p)
-      Q.all(deletions).then () =>
+      Q.all(deletions).then () ->
         done()
-      .fail (msg) =>
+      .fail (msg) ->
         console.log msg
         expect(true).toBe false
         done()

        @xmlImport.process d2, (result) =>
          expect(result.message.status).toBe true
          expect(result.message.msg).toBe 'Product updated'
          @rest.GET '/products', (error, response, body) =>
            expect(response.statusCode).toBe 200
            products = JSON.parse(body).results
            expect(products[0].version).toBe 3

        @xmlImport.process data, (result) =>
          expect(result.message.status).toBe true
          expect(result.message.msg).toBe 'Nothing updated'
          @rest.GET '/products', (error, response, body) ->
            expect(response.statusCode).toBe 200
            products = JSON.parse(body).results
            expect(products[0].masterData.staged.name.de).toBe 'Short Name'
