add tests for instancation strategy in InvoiceItem and Invoice classes