Add NuGet package restore

* Upgraded packages
* Fixed unit tests