Tests for date_t value.