Update test so it fails with the same error as NuGet