When doing instrumented tests for Android, you should put tests under proper directory.
Tests should be under directory androidTest
.
In KMP - More detailed:
shared -> src -> androidTest
Or directly in the android folder:
android -> src -> androidTest