Add/fix ec_keys, script and scriptnum tests in msvc build.