       debug "Deleting #{payload.body.total} product types"
       Promise.all _.map payload.body.results, (productType) =>
         @client.productTypes.byId(productType.id).delete(productType.version)
-    .then (results) =>
+    .then () ->
       debug "Deleted #{results.length} product types"
-      debug 'Delete Category'
-      @client.categories.byId(@testCategory.id).delete(@testCategory.version)
-    .then () ->
       done()
     .catch (error) -> done(_.prettify(error.body))
-
-
   , 60000 # 1min
 
   it 'should create and sync product', (done) ->

    debug 'Create initial product to be synced'
    @client.products.create(OLD_PROD)
    .then (result) =>
      debug 'assing product to test category'
      @client.products.byId(result.body.id).update(
        version: result.body.version
        actions: [
          {
            action: 'addToCategory'
            category:
              typeId: "category",
              id: @testCategory.id
          }
        ]
      )
    .then (result) =>
      debug 'Fetch projection of created product'
      @client.productProjections.byId(result.body.id).staged(true).fetch()
    .then (result) =>

    .then (result) =>
      expect(result.statusCode).toBe 201
      @productType = result.body
      done()
    .catch (error) -> done(_.prettify(error))

