Added unit test for powershell cmdlet