Added tests for NuGetService
Minor refactoring of test components