fix powershell_script tests for mandatory code blocks
fix powershell_script tests for mandatory code blocks

yet another lesson that doing too much in the initializer is
poor coding practice.

Signed-off-by: Lamont Granquist <0ab8dc438f73addc98d9ad5925ec8f2b97991703@scriptkiddie.org>

nathwill/chef,Kast0rTr0y/chef,nvwls/chef,mwrock/chef,tomdoherty/chef,Tensibai/chef,Ppjet6/chef,sanditiffin/chef,Ppjet6/chef,oclaussen/chef,chef/chef,jaymzh/chef,MsysTechnologiesllc/chef,someara/chef,tomdoherty/chef,oclaussen/chef,nvwls/chef,Kast0rTr0y/chef,juliandunn/chef,tas50/chef-1,robmul/chef,mal/chef,criteo-forks/chef,jonlives/chef,gene1wood/chef,Tensibai/chef,robmul/chef,someara/chef,mal/chef,criteo-forks/chef,higanworks/chef,jaymzh/chef,MsysTechnologiesllc/chef,sanditiffin/chef,nvwls/chef,martinisoft/chef,Kast0rTr0y/chef,Ppjet6/chef,MsysTechnologiesllc/chef,gene1wood/chef,gene1wood/chef,tas50/chef-1,Ppjet6/chef,oclaussen/chef,mwrock/chef,nvwls/chef,martinisoft/chef,mal/chef,higanworks/chef,sanditiffin/chef,nathwill/chef,tomdoherty/chef,robmul/chef,jonlives/chef,mattray/chef,criteo-forks/chef,nvwls/chef,mal/chef,sanditiffin/chef,robmul/chef,MsysTechnologiesllc/chef,higanworks/chef,Kast0rTr0y/chef,martinisoft/chef,mwrock/chef,mattray/chef,chef/chef,jaymzh/chef,someara/chef,tas50/chef-1,jaymzh/chef,criteo-forks/chef,juliandunn/chef,robmul/chef,criteo-forks/chef,ranjib/chef,Ppjet6/chef,Tensibai/chef,martinisoft/chef,oclaussen/chef,ranjib/chef,jonlives/chef,ranjib/chef,mattray/chef,tas50/chef-1,tomdoherty/chef,Kast0rTr0y/chef,mattray/chef,higanworks/chef,mal/chef,chef/chef,nathwill/chef,mattray/chef,juliandunn/chef,someara/chef,gene1wood/chef,juliandunn/chef,juliandunn/chef,ranjib/chef,tomdoherty/chef,Tensibai/chef,oclaussen/chef,jonlives/chef,chef/chef,Ppjet6/chef,mal/chef,nathwill/chef,someara/chef,mwrock/chef,jonlives/chef,sanditiffin/chef,robmul/chef,nathwill/chef,ranjib/chef,ranjib/chef,someara/chef,sanditiffin/chef,jonlives/chef,Kast0rTr0y/chef,Tensibai/chef,martinisoft/chef,nathwill/chef,oclaussen/chef,criteo-forks/chef,nvwls/chef,higanworks/chef