Improved WkPdfBuilder flexibility and updated test