fixing test for discount application