Add test for invoice based on shipment with partial delivery

issue4003
review5581002
Backed out changeset 3544cd44c4d7
Add test for invoice based on shipment with partial delivery

issue4003
review5581002