add DT test and save/load function