switch should_receive to stub when the stub is not part of the test