failing test for out of range date
fix invalid dates