add unittest for MDinput set.