Replace test for ConfigurationLoader with Kotlin version