[IMP] sale_order_partial_invoice: Include in test check for number of invoice lines created