Fix TestKeyConverter test