Changes date tests to assert only on year, month, and day.