Update date test to not use compare