// refactorized InvoiceTest