         done(JSON.stringify(errors))
       else
         done()
-    .fail (err) -> done(JSON.stringify(err))
+    .fail (error) -> done(_.prettify(error))

      @oldProduct.version = product.version
      @newProduct.id = product.id
      done()
    .fail (msg) -> done(msg)
  , 10000 # 10sec

  afterEach (done) ->


    # change
      tax =
        name: _.uniqueId 'myTax2'
        rates: []
      @client.taxCategories.save(tax)
    .then (result) =>
