log in console  in unitTest Mode embedded into common log method; useOfSystemOutOrSystemErr warning suppressed
Better way to run Tasks under ProgressManager in tests

Previously, Task#onSuccess or #onCancel were not executed in tests.
To fix it, use the same method for tests as for modal tasks:
Application#runProcessWithProgressSynchronously has a special case
to run in testing environment.
report boxing for polyadic and instanceof expressions, let quickfix remove unnecessary parentheses