fix for issue #429, handle suite:error and uncaught exception properly