make tests platform-independent (IDEA-67767)
no exceptions in log
Minor optimization
+review CR-IC-5136