Fixed app domain handling in test (reset Type.registeredDomains between
each test)
Warnings