Fixing some tests after the date format changes.