       expect(result.statusCode).toBe 200
       expect(result.body.taxCategory).not.toBeDefined()
       done()
-    .fail (msg) -> done(msg)
+    .fail (error) -> done(_.prettify(error))
 
   it 'should add, change and remove image', (done) ->
     @newProduct.masterVariant.images = [

      expect(result.body.masterData.staged.name.en).toBe 'Hello'
      expect(result.body.masterData.staged.name.de).toBe 'Hallo'
      done()
    .fail (error) -> done(error)

  it 'should add, update and delete tax category', (done) ->
    tax =
      name: "myTax-#{@unique}"
      rates: []

    # addition

    .then (result) ->
      expect(result.statusCode).toBe 304
      done()
    .fail (error) -> done(_.prettify(error))

  it 'should update name', (done) ->
    @newProduct.name.en = 'Hello'
