Fix stdlib tests on JVM

 #KT-5064 Open