added tests to invoice and invoice item