function advance() {
    advanceTaskQueue();

    if (!taskQueue.length && !config.blocking && !config.current) {
      advanceTestQueue();
    }
  }
Advances the taskQueue to the next task. If the taskQueue is empty,
process the testQueue