Convert unit tests to the Microsoft framework, fix project file, and prepare a NuGet spec
Split TestRandom test