unittest for Date