Tests for Date type.