Tweak test_edd_get_discount_by()