[NuGet] Add unit tests for PackagesViewModel.