renderBoxes = doc => {
    for (let i = 0; i < 100; i++) {
      doc.rect(0, 0, i, i);
    }
  }
Standard spec tests

These tests return the datauristring so that reference files can be generated.
We compare the exact output.