Exceptions in tests after add compile kotlin line to gradle dependecies


Until now we had only Kotlin support for tests so we added the following lines to gradle:
testCompile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
androidTestCompile “org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version”

and everything worked fine, now we ready to move to add also production code in Kotlin so we added the following line:
compile “org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version”

but we faced the following exception from our tests:
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;

any help will be appreciated