Added tests for the `DateTimeComparator`.