coding #51 adding new test for the applicable discounts