Add allow_uncaught_exception to onerror tests so that they run properly.
Merge pull request #440 from zcorpan/fix-onerror-uncaught-exception

Add allow_uncaught_exception to onerror tests so that they run properly.