more tests, cleaning up, fixed transactions to haveinvoice_id instead of invoice_items