test code for coupon app