🎨 Replace KeyTest with Kotlin version