Tests and Nuget Corrections

Thinks to AppVeyor, I found a few problems..