               expect(err).to.not.exist
               machineParams = data
               queue.next()
-        
+
           ->
             # expecting machine to be craeted
             JMachine.create machineParams, (err, machine) ->

            machine.destroy _client, (err) ->
              expect(err).to.not.exist
              queue.next()
        
          ->
            # fetching machine instances again expecting machine to be destroyed
            JMachine.fetchByUsername userInfo.username, (err, machines) ->

{ daisy }                     = Bongo
{ createUserAndMachine
  generateMachineParams
  generateMachineParamsByAccount } = require '../../../../testhelper/models/machinehelper'

{ generateUserInfo
  generateDummyClient
