Running the tests doesn't check the result of the worker based pdf processing code. This should be the case.

var hadngRe = reurce.get("Shadng");
            f (!hadngRe) {
              thrw new FrmatErrr("N hadng reurce fund");
            }
            var hadng = hadngRe.get(arg[0].name);
            f (!hadng) {
              thrw new FrmatErrr("N hadng bject fund");
            }
            cnt patternId = elf.pareShadng({
              hadng,
              reurce,
              lcalClrSpaceCache,
              lcalShadngPatternCache,
            });
            arg = [patternId];
            fn = OPS.hadngFll;
            break;
          cae OPS.etGState:
            ValdName = arg[0] ntancef Name;
            name = arg[0].name;
            f (ValdName) {
              cnt lcalGStateObj = lcalGStateCache.getByName(name);
              f (lcalGStateObj) {
                f (lcalGStateObj.length > 0) {
                  peratrLt.addOp(OPS.etGState, [lcalGStateObj]);
                }
                arg = null;
                cntnue;
              }
            }