Add UTF8 support to tests