Fixed ExceptionNotifier test

Travis build fails after merging #901.