cRefs = [];
    asyncRefs.push(microTask.run(callback));
    asyncRefs.push(microTask.run(callback));
    asyncRefs.push(microTask.run(callback));
    microTask.cancel(asyncRefs.pop());
    microTask.cancel(asyncRefs.pop());
    microTask.cancel(asyncRefs.pop());
    setTimeout(function() {
      assert.equal(callCount, 0);
      done();
    });
  });

  test('Multiple queued functions are individually cancelable.', function(done) {
    var callCount1 = 0;
    var callCount2 = 0;
    var callCount3 = 0;
   