 
     it 'should fail when required options not provided', (done) ->
 
-      withConvertedUser ({ client, account, user }) ->
+      withConvertedUser ({ client, account, user, group }) ->
+        client.r      = { account, user, group }
         expectedError = 'A valid machineId and an update option is required.'
 
-        fetchGroup client, (group) ->
-
-          client.r = { account, user, group }
-          Managed.update client, {}, (err) ->
-            expect(err?.message).to.be.equal expectedError
-            done()
+        Managed.update client, {}, (err) ->
+          expect(err?.message).to.be.equal expectedError
+          done()
 
 
     it 'should fail if provided some options are not valid', (done) ->
 
-      withConvertedUser ({ client, account, user }) ->
+      withConvertedUser ({ client, account, user, group }) ->
 
         generateDefaultOptions = (options) ->
 

    it 'should be able to update machine with valid request', (done) ->

      options = { provider : 'managed' }
      withConvertedUserAnd ['Machine'], options, ({ client, account, user, machine }) ->

        updateOptions =
          storage     : '1'


          return _options

        client.r = { account, user, group }

        queue = [

          ->
            options = generateDefaultOptions { storage : 'invalidStorage' }
