Merge "Migrate Kotlin tests to use mockito-kotlin2." into main