UnitTest for DateTime