Added a test to verify the fix in ProcessObserver for handling an exception class with a non-standard initialize