updated to use the new Test-cDscResource