Debugging Rspec test - stubbing libs