[JENKINS-25112] fixed: tests fail to stop slaves on Windows.
[FIXED JENKINS-25112] Make tests free from shell scripts.