Added test to ensure rspec stubbing always works