Refactor integration test not to hit the network

* Add rspec doubles to cucumber support