Test for item.hasDiscount()