Add static_initializer unit test for msvc

This unit test will *fail* when MSVC starts doing the right thing, thus alerting us we can remove the static initialization hacks.