Moving tests to rspec 3.0 syntax, with DI for the HTTP getter.

Also bumping rspec dependency.