Fix date test