Add tests and fix for exceptions which stringify to empty string handled by exception_action