add unittest of class Date