add test on Dual number type