You should make sure that your Test project has at least the following references:
<packages>
<package id="Lucene.Net" version="3.0.3" targetFramework="net452" />
<package id="Microsoft.Extensions.DependencyInjection" version="1.0.0" targetFramework="net452" />
<package id="Sitecore.FakeDb" version="1.7.4" targetFramework="net452" />
<package id="Sitecore.Kernel.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
<package id="Sitecore.Logging.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
<package id="Sitecore.Nexus.NoReferences" version="8.2.161221" targetFramework="net452" developmentDependency="true" />
</packages>
If you do not care about having extra DLL references youYou only need to add two nuget packages to makein your test project worksolution with the dependencies: Sitecore.Nexus
and Microsoft.Extensions.DependencyInjection
.