Unresolved reference for few java classes

Hi

I am trying to introduce Kotlin to my Java only android project. Since we have an older gradle version(3.0.1), i got kotlin 1.3.0 so i can start kotlin with least possible changes to existing libraries.

I was able to create two new classes in kotlin and write a test for one successfully. The second test, when i run it, it gives an Unresolved reference on the POJOs i am importing. The only diff i see in these classes are, while other classes were in src/test/java/com.example/utils, these classes are in src/test/java/com.example with no folder.

Is there anything in the set up i am missing?

Here are the configuration changes i made: (app still runs fine but only the tests fail)
(build.gradle)
classpath ‘com.android.tools.build:gradle:3.0.1’
classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0”

(app build.gradle)
apply plugin: ‘kotlin-android’
apply plugin: ‘kotlin-android-extensions’
implementation “org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.0”
implementation “org.jetbrains.kotlin:kotlin-reflect:1.3.50”
sourceSets {
main.java.srcDirs += ‘src/main/java’
}