fixed test exception output.