Test: log uncaughtException