fixing date test