Fixed a test to account for timezones in dates