Fix Invalid date tests