CFY-1728 fix min number of workers bug
CFY-1728 add unit test
Merge pull request #178 from cloudify-cosmo/CFY-1728-windows-agent-fix

CFY-1728 fix min number of workers bug