HDFS-6385: Correct date/time handling in test.
HDFS-6385: Fix tests.