Update nuget packages

And fix tests that failed as a result of the updates