Fix toDate test in ZDATest