Rewrote uncaughtExceptions tests