Fix date test.