Fix Date->DateTime conversion for leap second issues
add tests of Date -> DateTime conversion