Fixed tests for new exception output format