MDL-46133 tool_monitor: added unit tests