fix dynamically allocated cexcept message test & typo.

Signed-off-by: Wilfried Chauveau <ithinuel@gmail.com>