fix tests but now there is no test for invoice_date