add a test about discount