add utf8 test

Missing return NULL; (to avoid warnings)