Refurbished test for powershell input