fixed invoice_repo test