Fix for issue #156
Enabling creation of app domains from within unit tests