test exception messages