Logging support, more exception tests