Fix typo in date test