make default_key transliterate non-ASCII characters instead of truncating the key
add 2 tests