Added shippingLogic unittests, fixed error in saleitem