Correct test logging.
Adjusted KMeans tests (Scala).