Added some tests, added getInvoiceItems, searchInvoice