Adding a test to validate that AutoInit can throw exceptions