Update of Kotlin version
Adding a test case
Fixing object creation