🎨 Replace IdentityManagerTest with Kotlin version