Add TstConstantFee fee calculate function generator
Fix comment