Made tests work for dates no matter what the locale setting for the date...

... format.