check that encodings retain the new method; add the empty string test