Added discount testcases

Created testcases for linesubtotal with discount and total sum with
discount.