Fix Powershell Unit Tests