Added NUnit NuGet reference and fixed build errors