Updated nuget package dependecies and fixed broken unit tests.