add a unit test for sub_dt