spy calls the mocker and the original function