targets for nuget, condition, fix unit tests