Tests of the built-in exceptions' detail messages.