Fix bad tests for invalid date formats