Adds tests for ExceptionHandler