Added assertion to WkPdfBuilderTest