1) implementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion" needs to be testImplementation. As for right now, it is very unneeded libraries because it wouldn't break anything.
2) implementation "androidx.arch.core:core-testing:$lifecycleVersion" needs to be testImplementation too.
1) implementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion" needs to be testImplementation. As for right now, it is very unneeded libraries because it wouldn't break anything.
2) implementation "androidx.arch.core:core-testing:$lifecycleVersion" needs to be testImplementation too.