Convert the specs to use spies instead of mocks