allowing to specify the return value of stubbed function when testing if it has been called
Returning nil by default if nothing is specified in the :and-return option