DependencyResolver doesn't use Gem::Specification

This fixes the tests to use Gem::DependencyResolver specifications
instead of Gem::Specification objects.