Improved error reporting of failing exception tests; some code cleanup
Added support for shared modeling assemblies