Added unit test for powershell cmdlet

Good catch.