Handle type initialization exceptions in tests. Fixes exception tests.
Handle type initialization exceptions in tests.
Fixes exception tests.

Microsoft/VisualStudio-SharedProject,mousetraps/xtvs-common,enricosada/VisualStudio-SharedProject,mousetraps/xtvs-common