fixing another type in Test-TargetResource