Test and satisfies InvoiceRepository class