adjusted customer.invoices test