Test toArray method succeeds on Inventory and Shipment