Added a try/catch test, which does not pass, although quite a few fixes
have been already made.