Fixing invoicePdf tests.