JUnit testing class for class DateAndTime