test calculate in promotionCalculator