[test] finalizer with msvc