Fixed unit test to cater for timezones on servers.