fix rev test by catching unicode err