Added some rspec mocks and tested ohai generator with them