Fix test application for utf8string exceptions