MDL-38171 editpdf: Unit tests