spec
it should reject invalid date