fix invalid test

An invalid date test fails since the beginning of 2013