 JInvitation      = require './invitation'
 JApiToken        = require './apitoken'
 JComputeStack    = require './stack'
-
+JMachine         = require './computeproviders/machine'
 JStackTemplate   = require './computeproviders/stacktemplate'
 JCredential      = require './computeproviders/credential'
 
-{ generateStackTemplateData } = require \
+{ generateStackTemplateData
+  generateStackMachineData } = require \
   '../../../testhelper/models/computeproviders/stacktemplatehelper'
 
 

              expect(creds.length).to.be.equal 0
              next()


          (next) ->
            JStackTemplate.some { originId: account.getId() }, {}, (err, stackTemplates) ->

        async.series queue, done


      it 'should not allow to delete account when there more than one ownership', (done) ->

        account.destroy client, (err) ->
          expect(err).to.exist
