               expect(err).to.not.exist
               machine = machine_
               queue.next()
-        
+
           ->
             # expecting error when target is not specified
             params = { target : null }

            targets   : targets
            asOwner   : yes
            permanent : yes
          
          machine.addUsers params, (err) ->
            expect(err).to.not.exist
            expect(machine.users.length).to.be.equal userCount + addedUserCount

            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) ->
