Fix calls to Test-Path

When mocking Test-Path I was getting error: Mock for Test-Path was
called but it does not exist in the mock table.