add warn_invalid_date option
add test to check warn_invalid_date but without verification