removed sensless double checks in variant types,
fixed variant type tests on Windows and a wrong cast in string -> int64
conversion